Category Archives: Tutorials

Add a custom default avatar to your WordPress site

WordPress have a built in support for gravatars which means that WordPress will automatically fetch the avatar associated with the commenting users email address. If the email address is not associated with an avatar WordPress will display a default avatar. … Continue reading

Posted in Tutorials, WordPress | Tagged , , , | Leave a comment

Only include Contact Form 7 javascript and CSS when needed

The Contact Form 7 is a great WordPress plugin for adding contact forms to your site. The plugin is very easy to use and make nice contact forms with. The bad news is that the plugin includes javascript and CSS … Continue reading

Posted in Plugins, Tutorials, WordPress | Tagged , , , , , , | 29 Comments

Cache data with WordPress Transient API

With WordPress transient API you can cache data in the database by giving it a unique identifier and an optional expire time after it will be deleted. There are basically three functions in this API. $transient – a unique identifier … Continue reading

Posted in Tutorials, WordPress | Tagged , , , , , , | 1 Comment

How to modify WordPress favorite actions menu

Since WordPess 2.7 there is a drop-down menu in admin that displays links to common actions. I don’t know the official name for it so I will just call it favorite actions menu. The problem with this menu is that … Continue reading

Posted in Tutorials, WordPress | Tagged , , | Leave a comment

How to remove WordPress admin bar

WordPress 3.1 introduces a new admin bar which is located at the top of your site. Some people like the admin bar and some don’t. Here are two ways of removing it. One by adding code to your themes functions.php … Continue reading

Posted in Tutorials, WordPress | Tagged , , , | 6 Comments

How to disable internal pingbacks in WordPress

You have probably noticed that when you link to a post on the same site you will get a pingback on the old post with a link to your new post. If you for whatever reason wants to get rid … Continue reading

Posted in Tutorials, WordPress | Tagged , , , | 8 Comments

How to hide the WordPress update message

On aspect when developing sites for clients is how to handle updates of WordPress and plugins. Should you let your clients do this themselves or should you offer that as a service? WordPress has a built in function that will … Continue reading

Posted in Tutorials, WordPress | Tagged , | 5 Comments

How to add a thumbnail to your WordPress RSS feed

To make sure your RSS feed stands out in the crowd you can make it look a little bit nicer by adding a thumbnail to it. The following code should be placed in functions.php and it adds a thumbnail to … Continue reading

Posted in Tutorials, WordPress | Tagged , , , , | Leave a comment