You are here
Home > Dirty Laundry > Policy > Customizing a WordPress installation

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.

NMT
Blurb about self

3 thoughts on “Customizing a WordPress installation

  1. If your office was next to the bathroom, or 5 steps from the loading dock, or next to the timeclock, would you be very productive every day? ,

  2. Nagyon köszönöm a fejl?d? a fáradságot, hogy vitassák meg ezt, úgy érzem, er?sen err?l, és mint tanulmányozása sokkal több ebben a témában. Ha megvalósítható, ahogy szert szakértelemre, lenne szíves frissíteni a weboldalt, amelynek nagy sokkal információra? Nagyon hasznos a számomra.

  3. Comment from Daddy78
    Time: October 22, 2009, 3:35 pm

    If your office was next to the bathroom, or 5 steps from the loading dock, or next to the timeclock, would you be very productive every day?

    If my office was right on the loading dock I would be the dock manager and thus my productivity would be tied directly to the people who drive, load or unload the trucks. They’d be the ones setting the pace and I’d have to keep up.

    A very conditional question.

Leave a Reply

Top