Configuration

Often I see people’s blogs and wonder to myself what plugins they have and/or themes they use. Often the theme can be found simply by looking at the bottom of the page. But that doesn’t tell you what I’ve used in the past. This page may not be of interest to most, but I’m putting it up for the sake of the curious.
Theme:

Plugins (current):

Plugins (old):

  • Google Search Widget (replaced with a text widget and custom HTML)
  • WordPress Database Backup 1.8 (I do it manually)
  • Feed Locations 1.0 (Replaced with Feedburner Feedsmith)
  • Firestats 1.0.2 (Started using WordPress.com stats)
  • DoFollow 2.1 (I think I got a lot of semi-SPAM comments because of this)

Theme Modifications (Mandingo)

In page.php, in order to enable comments on pages:


<?php comments_template(); ?>

I also want people to be able to leave comments authenticated by their OpenID URL… so I make the following addition to the comment form in comments.php right above where it asks for Anon name/email/etc:


        <dl><dt><input type="radio" style="width: 12px" name="id_method" id="id_method_openid" /> <label for="id_method_openid">OpenID</label></dt>
        <dd><p>

        <input style="background: transparent url(http://jacob.steenhagen.us/images/openid.gif) no-repeat scroll 0pt 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; padding-left: 18px;" type="text" name="openid_url" id="openid_url_comment_form" size="22" tabindex="0"/>
        <label for="openid_url_comment_form">OpenID Identity</label>

        </p></dd>
        <dt><input type="radio" name="id_method" style="width: 12px"  id="id_method_anon"/> <label for="id_method_anon">Anonymous</label></dt>
        <dd>

Older Modifications

In comments.php, in order to style pingbacks and OpenID comments, I added the following inside the <li> class for comments:


<?php echo ($comment->comment_type ? ' '.$comment->comment_type : ''); ?>

And then I put the following in the Head textbox of the HTML Inserts options for the Mandingo theme.


<style type="text/css">
.pingback {
    border: 2px gray dotted;
}

pre {
    overflow: scroll;
}

.openid cite {
        background-image: url('http://jacob.steenhagen.us/images/openid.gif');
        background-repeat: no-repeat;
        padding-left: 18px;
}
</style>

I typically try to make the following modifications to all my themes

In order to make my comments, trackbacks and OpenID authenticated comments appear different, I add the following to comments.php in the foreach loop for comments:


        <?php
        if (get_the_author_ID() == $comment->user_id) {
                $authorcomment = ' authorcomment';
        } else {
                $authorcomment = '';
        }

        if (empty($comment->comment_type)) {
                $comment_type = "";
        } else {
                $comment_type = " " . $comment->comment_type;
        }
        ?>

And the following in style.css:


.pingback  {
        border-color: gray !important;
        border-style: dashed !important;
        border-width: 1px !important;
}
.authorcomment {
        background-color: #FFF8DC !important;
        border-color: #CCC6BA !important;
}
.openid .comment_author {
        background-image: url('http://jacob.steenhagen.us/images/openid.gif');
        background-repeat: no-repeat;
        background-position: 0px 5px;
        padding-left: 18px;
}

I also need to add the Google Analytics JavaScript code right before my </body> tag.

18 thoughts on “Configuration”

  1. Great information, and explanation. I’m new to wordpress and blogging. I’ve put together a blog. But it’s really just to practice
    on and learn. I’m looking for more information like your posts, and books, etc. that are relatively straight forward.

    share

     

  2. I am currently setting up a new blog/site using a Brian Gardner Revolution theme and there are so many different plugins that come standard with that theme as well as the endless supply that are still available to use. Thanks for the list.

    share

     

  3. This is a neat idea and it’s a also a good way to get user feedback as they can tell you which of your past themes/plugins they liked the most.

    Going to check out the WP-Amazon plugin, looks interesting…

    share

     

Leave a Reply