which is, for some reason I can’t figure out, inside a list item.
I have edited down sidebar.php – there is no list stuff there. Where is this list item coming from? What should I be looking at?
Here is sidebar.php as it is now:
* The Sidebar containing the primary and secondary widget areas.
* @package WordPress
* @subpackage Starkers
* @since Starkers 3.0
/* When we call the dynamic_sidebar() function, it'll spit out
* the widgets for that widget area. If it instead returns false,
* then the sidebar simply doesn't exist, so we'll hard-code in
* some default sidebar stuff just in case.
if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
< ?php endif; // end primary widget area ?>
I am not sure what the problem is. I understand you’d prefer the
tag not to be in a list, but is there a specific reason why? I believe the reason why WordPress is set up like that is so that you’ll have more control over the code elements. You can use css to style your list elements any way you’d like.