WordPress hello world!

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

4 thoughts on “WordPress hello world!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>