Category: Code snippets

WordPress, JavaScript, Code snippets, web development, HTML5, CSS3, design

WordPress: Minify HTML for Google PageSpeed

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

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 disable automatic updates in WordPress

So, you just updated your site with WordPress 3.7 (or newer), and you noticed that one of the new features is automatic background updates. The feature will updated WordPress core and translations files, but it will also allow you to automatic update themes and plugins. There are also reasons why WordPress auto updates will not work, […]