I have a normal textbox widget that I am using in certain sidebars. The text widget generates a div within a ul. Is there anyway to make the widget generate another ul li instead?
<ul><h3>Heading</h3> <div class="textwidget">
|
I have a normal textbox widget that I am using in certain sidebars. The text widget generates a div within a ul. Is there anyway to make the widget generate another ul li instead?
|
|||
|
|
|
check your EditSpecifically, you need to look at the If the
Then change it to this:
Specifically, you're changing this:
To this:
|
||||
|
|
|
You can unregister the default widget:
Then register your own with custom markup... http://codex.wordpress.org/Widgets_API http://azuliadesigns.com/create-wordpress-widgets/ Or you can use Javascript and just tell it to adjust the HTML after the document finishes loading. Or you can see if nesting your desired code completely within the current markup and just styling around the existing markup. You can remove any negative side effects it is giving you with CSS. |
|||
|
|
|
Use the wordpress default text widget. Its named "Text" in your widget area. You can add unlimited text widget in your sidebar. Each text widget creates new ul li. I hope you get what i mean. |
||||
|
|