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.










THANK YOU! Man, i couldn’t figure that out!
Hey iv got a problem with the sidebar on this theme also.
If i try to remove certain widgets then it loses the styling on the list.
I changed the code you mentioned and as a result, the entire widget list remains regardless if only a one widget is added.
Did you encounter this? is this the problem you had?
Thanks heaps man
Hi John,
I’ve not had that behaviour, is it a standard widget you are trying to remove? If so, which one? I’ll see if i can replicate the problem.
when i change in the sidebar that code, is disapear my Poll and Newsletter X(