Here is the code for the ChaoticSoul sidebar theme file:
<div id="sidebar">
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php if (is_single()) { ?>
<h3>About This Post</h3>
<p class="postmetadata alt">
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
and is filed under <?php the_category(', ') ?>.
You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can leave a response, or " rel="trackback">trackback from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can " rel="trackback">trackback from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry.','',''); ?>
</small>
</p>
<h3>Navigate</h3>
<ul class="navigation">
<?php previous_post_link('
Previous: %link
') ?>
<?php next_post_link('
Next: %link
') ?>
<?php } else { ?>
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
-->
<?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>
<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /"><?php echo bloginfo('name'); ?> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /"><?php echo bloginfo('name'); ?> weblog archives
for <?php the_time('F, Y'); ?>.</p>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /"><?php echo bloginfo('name'); ?> weblog archives
for the year <?php the_time('Y'); ?>.</p>
<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<h3>About This Page</h3>
<p>You have searched the /"><?php echo bloginfo('name'); ?> weblog archives
for '<?php echo wp_specialchars($s); ?>'. If you are unable to find anything in these search results, you can try one of these links.</p>
<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /"><?php echo bloginfo('name'); ?> weblog archives.</p>
<?php } ?>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
-
<h3>Pages</h3>
<?php wp_list_pages('title_li='); ?>
<h3>Archives</h3>
<?php wp_get_archives('type=monthly'); ?>
<h3>Categories</h3>
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
<?php } ?>
</div>
Then, you create the functions file which includes:
<?php
if ( function_exists('register_sidebar') )
register_sidebar();
?>
Then you go and follow instructions above to copy/paste the h2 tag in index/styles file, and change it to h3.
That did it for me. Sidebar ready.
Cheers!