WordPress hello world!

May 19th, 2009

Finally decided to get my blog started instead of just playing L4D everyday! Haven’t even eaten dinner yet. Luckily it worked really well and was super easy to set up.

The only real “programming” thing I had to do was modify the simpla theme to allow widgets so that I could add the Twitter Tools gadget.

All I had to do was create a /wp-content/themes/simpla/functions.php :

<?php
if ( function_exists('register_sidebar') )
 register_sidebar();
?>

And then edit /wp-content/themes/simpla/sidebar.php :

<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
 || !dynamic_sidebar() ) : ?>
<h2>Pages</h2>
<ul>
<li><a href="<?php echo get_settings('home'); ?>/">Home</a></li>
<?php wp_list_pages('title_li='); ?>
</ul>
<h2>Categories</h2>
<ul>
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>
<ul>
<?php get_links_list(); ?>
</ul>
<?php endif; ?>
</div>

Plugins:

  • WP-Syntax
  • WP-Syntax Button
  • TwitterTools

2 Responses to “WordPress hello world!”

  1. Carl Says:

    Hey Kit,

    Nice blog! Glad to see it out in the wild!

    - Carl

  2. Julie Says:

    Kit Menke:
    Mild mannered programmer by day
    Wild and crazy blogger by night

Leave a Reply