Archive for the ‘Wordpress’ Category

Style Your Wordpress Comments

Thursday, June 5th, 2008

The most important aspect of a blog is your readers. Without them, you’re only talking to yourself.

The main route of communication between you both is the comments under each post, so why not pretty them up a bit?

In this article I’ll show you the various CSS styles you need to change, and I’ll also explain how I added the custom background when I reply to comments on my own articles.

(more…)

Adding the Wordpress Sidebar to Every Page

Friday, February 22nd, 2008

When you first install Wordpress, the default Kubrick theme doesn’t display the sidebar when you view a single post. It’s a feature many people ask for and here’s how you do it.

In your Wordpress admin interface, navigate to Presentation > Theme Editor and then select Single Post from the right menu. The ’single.php’ file will appear in the editing window.

The first change is to replace the second line:

<div id="content" class="widecolumn">

with

<div id="content" class="narrowcolumn">

Once that’s done, scroll to the bottom of the page and find the line <?php get_footer(); ?> and replace it with:

  1. <?php
  2. get_sidebar();
  3. get_footer();
  4. ?>

And that’s it! Your sidebar will now appear on every page of your Wordpress blog.