Tag: "PHP"

Automatic thumbnail image resizing options

Miriam Schwab | June 1, 2008 | 8 Comments
I manage a few blogs that use thumbnail images to spruce up the appearance of the site, and make it more enjoyable for readers. As we've discussed here in the past, an efficient method for adding thumbnails to your ... View Post

Using PHP to alternate background colors for comments or posts in WordPress

| December 26, 2007 | 17 Comments
Some blogs have alternating background colors for their comments and posts, i.e. a green background for every even comment and post, and a grey background for every odd comment and post. How do they do that? Alternating Comments Styles To alternate comments, add the following code to your comments.php template file, under where it says <?php ... View Post