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 […]
How to set up a cookieless domain
In this post we are going to explain how to set up a cookieless domain. In other terms we are going to remove the cookies set by the server/browser on each request for static content. First let’s talk about what is static content. These are files that does not change on every requests, files like […]
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
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 […]