Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Anchor Link in Widget/HTML to external site not working

Discussion in 'Misc WordPress Requests' started by Tor-Bjorn Fjellner, Apr 9, 2018.

  1. Tor-Bjorn Fjellner

    Guest

    Reply To: Anchor Link in Widget/HTML to external site not working, by Tor-Bjorn Fjellner

    One thing that surprises me is that you surround each widget with an li tag pair:

    <li id="nav_menu-4" class="widget widget_nav_menu"><div class="menu-theory-menu-container"><ul id="menu-theory-menu" class="menu"><li id="menu-item-2668" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-2661 current_page_item menu-item-2668"><a href="https://www.3d-ic-sights.com/theory-2/theory-prologue-new/">Theory Prologue</a></li>
    [...]
    </ul></div></li>

    EditAdd:
    I guess you’ve just copied that part from the main menu. But <li>...</li> should occur inside <ul>...</ul> (or <ol>...</ol> ). Here a pair of <div>...</div> might be more relevant.

    Reply To: Anchor Link in Widget/HTML to external site not working
     
    #1

Share This Page

Monarch Social Sharing Plugin