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

May 19th, 2009 at 11:16 pm
Hey Kit,
Nice blog! Glad to see it out in the wild!
- Carl
May 21st, 2009 at 10:09 am
Kit Menke:
Mild mannered programmer by day
Wild and crazy blogger by night