Customizing a WordPress installation

WordpressWant to make some adjustments to your WordPress blog? I always have trouble unearthing the variable names to plug into the code. To the WordPress developers’ credit, WP variables are usually self-explanatory, but that still requires an explanation. Here are some tweaks we’ve added to our Tallgrass theme:

Comment Author IP
You might want to display a commenter’s IP directly in the comments, if you need to discourage rampant aliases. The variable for the IP recorded for each comment is comment_author_IP. In admin mode on your site, simply go to EDIT THEME and pull up the [comments.php] page. Insert the code below in the comment loop, where you want the IP shown. We put it after the comment author.

<?php comment_author_IP(); ?>

Listing the post author for each individual post

Appending a Google News friendly numeric serial to the post slug

More customizations to follow.