Category: Tutorials

WordPress, CSS, HTML, HTML5 tutorials at Xpark Media

Remove password protected posts from archive pages

In this tutorial we’ll show how to remove password-protected posts from all of the archive pages in WordPress. There is no need to modify the theme, create custom loops or custom queries. We’ll modify the main query created by WordPress using two hooks; then, we’ll show other ways to use the same functions to search posts with a […]

Sharpen resized images and interlace option in WordPress

Have you ever notice that some resized images in WordPress look blurry, and you would like to dynamically sharpen those images without a bloated plugin. Well, here is how, you can sharpen the resized images in WordPress; and while you are at it you can also activate the interlace option on all image. Interlaced images […]

Mediaelements: Add a share button to video elements using jQuery

media elements share button

Here is a quick tutorial in how to add a share button to video elements using jQuery and Mediaelements.js.   HTML5 Video tag First, here is an example as how the video html5 tags should look like. The tag show the minimum attributes required, additional attributes still can be added. Notice the data-url attribute, the attributes […]