WordPress Ramblings 1: Lalaland WordPress Theme and Widgets

I’ve been helping the wifearoo get her blog back up and running over at www.princessoftheworld.com and i ran into a hiccup with her chosen theme of LalaLand.  Its available from any number of those poorly laid out free wordpress themes sites, though the credit on the theme goes back to a site that has absolutely no mention of it, so i’m not sure it’s correct.

Anyways, i found the widget implementation wasn’t working, and that all her widgets were appearing incorrectly.  It should have been quicker to find, but it took me a bit to figure out that there needed to be a <ul> before the sidebar function in order for it to work nice.

The sidebar code by default looks like:

<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
<ul>

But if you change it to:

<ul><?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>

Then the widgets appear to display correctly.    This might not be the absolutely correct way to fix this issue, but it works so far for me.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • Twitter