Forum Replies Created

Viewing 1 replies (of 1 total)
  • Wondering about the secondary navigation with this plugin…

    I used this declaration in my sidebar.php file because I want to display a secondary navigation on every page:

    <?php
    wp_menu('nav_type=secondary&heading=h2&div=1');
    ?>

    I was expecting to see an unordered list of child pages with the parent page listed as an <h2> above all wrapped in a nice little <div>.

    The problem is that the hrefs for the child links are all missing a backslash before the child page name.

    I.E. https://www.website.com/%5Bparent-name%5D%5Bchild-name%5D

    Obviously that isn’t working. Any idea how I can get a backslash between [parent-name] and [child-name]?

Viewing 1 replies (of 1 total)