Jump to content
Sign in to follow this  
bilbomac

WHP Sidebar Breakage

Recommended Posts

bilbomac

I've noticed that adding images and ads to side bar in WHP breaks it quite often. I can only add (using text widget) google ads that are 125x125. Is there a trick to this? I'm moving a wordpress.com blog and a lot of my sidebar widgets break WHP. Is there an "image" widget available like on wordpress.com? Is there a set up recommendation for padding with a text widget to size images or ads correctly so that it doesn't break the sidebar?

Share this post


Link to post
Share on other sites
Jackey

I found that omitting the title on the widget breaks the page.

Share this post


Link to post
Share on other sites
Andrew

Yes, the code for the sidebars works like this: we add: ` 'before_widget' => '

', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ` to set it up. The only issue is that WP won't print out the 'before_title' and 'after_title' markup if you don't add one. This means the 'after_widget' element prints an extra 'div' which breaks the markup. I haven't found a workaround for this issue yet.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×