Support » Plugin: In This Section Widget » Produces bad markup for pages that are not assigned to custom menu

  • Hi

    First, Thanks for the widget.

    On my site the widget does not seem to work properly when it is displayed on pages that have not been assigned to a custom menu. Specifically, ul and div tags are not closed. It produced the following code on a such a page:

    <div id="in-this-section-7" class="widget in-this-section">
    <h2 class="widgettitle">In This Section</h2>
    <ul class="menu section-menu">
    <div class="menu-main-nav-container">
    <ul id="menu-main-nav-1" class="menu">
    <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-198">
    <a href="http://www.mysite.com/my-page/">My Page</a>
    </ul>
    </div>

    http://wordpress.org/plugins/in-this-section/

  • The topic ‘Produces bad markup for pages that are not assigned to custom menu’ is closed to new replies.