Tag: snippet

WordPress: Minify HTML for Google PageSpeed

compress-html

One simple thing you can do to improve the loading speed of WordPress pages is to minify the HTML and then implement a system cache. In this tutorial we will teach you a simple way to minify the HTML code. Helper Hook First we have to add a helper hook, this is to affect only the front pages […]

Remove password protected posts from archive pages

lock-secure-wp

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

cookieless

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 […]