Currently Browsing The Must Have Snippets Tag

Add php to the text widget

Posted on 11th September, 2013 Leave a Comment

This is a real beaut of a snippet and deservedly belongs a place in the “Must Have Snippets” hall of fame. Basically all this does it allow you to add and then process php inside the text widget, which means that you won’t need to use a plugin! Add this to your functions.php: Then when…

Include jQuery into your theme through the functions.php

Posted on 21st August, 2013 Leave a Comment

Over time I’ve realized that there is a better way to include jQuery. Rather than adding your jQuery straight into the header.php or footer.php of your theme files which can be untidy, I would recommend adding a function to your function.php which is a lot neater. So open the functions.php scroll to the bottom and…

WordPress Security with the .htaccess file

Posted on 14th July, 2013 4 Comments

So I showed you how you can help speed up WordPress using a single line of php in your header.php theme file and by adding a few simple lines to your htaccess file. Now lets concentrate on security. As WordPress is now so widely used (60+ Million users) it has become a bit of a…

Speed up WordPress

Posted on 13th July, 2013 Leave a Comment

This is something that I add to all my sites, it will increase the load time. Check your site now on http://gtmetrix.com/. < This site gives you a breakdown of your sites performance and will show you the areas that you need to improve on. This page is dedicated to improving your sites performance, which in…