The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Wrapping wordpress widgets inside <div> instead of <li>
Is there anyway to customize the widget output?
The standard is:
I would like it to be like this instead:
Thanks a bunch!
On my site (http://www.limenet.ch) I use the following code snippet
and it works great.
The used function is wp_list_bookmarks() which has it’s (as always great) WP Codex page at http://codex.wordpress.org/Function_Reference/wp_list_bookmarks. In your case, I hope the following snippet will work for you (if not, just post your problem; I didn’t test it):