Succesfully running 2.8.1, but

I’ve updated the site to the latest release of WordPress. 2.8.1 fixes many bug found in 2.8 and I finally was ready for the update. While everything went smoothly, I did have to update…

Calling custom fields for next/previous posts

Custom fields are definitely very useful and are used on many WordPress installs. Today I’m going to show you how to easily get custom fields values outside the loop.

Simple double listed columns

I’ve been asked before on how to display categories in multiple columns. Well, WPRecipes has posted a code snippet for…

Remove spaces when echoing the_title

Ever wanted to print or echo the WordPress title attribute without spaces?

Adding a external file after the first post

Adding a external file after the first post

How might you display a Google ad after the first post or anything you like? It is very simple. You just need to add the variable $loopcounter in the Loop. If the $loopcounter is…

A simple way to query posts

A simple way to query posts

Here is a simple way to call query_posts with an array of options. For all options you my use visit: WordPress Codex. <?php $my_query = array('showposts' => 4, 'post__not_in' => $do_not_duplicate); ?> …

How to: Add any authors gravatar to their post

How to: Add any authors gravatar to their post

This is an easy one, just add one line to your single.php file where you would like the Gravatar to show up. <?php echo get_avatar( get_the_author_id(), $size = '96', $default = '<path_to_url>' );…

Limit the characters that display on the_title

Limit the characters that display on the_title

Ever wanted to display the title of a post somewhere but limit the amount of characters that are shown? For instance, this post has a very long title, and if I were to use…

Display custom url if comment authors url is blank

Display custom url if comment authors url is blank

Here is a nifty trick for your comments.php template. If someone comes to your site and leaves a comment but doesn’t leave a url back to there site, the default link that is shown…

Echo custom fields in any category

Echo custom fields in any category

Here is a neat trick. Say you want to show a custom field in you post or in a certain categories post. There is a simple code you need to write in order to…