Custom navigation not working

  • Hi,


    I've created a customer navigation in the Perch navigation folder called submenu.html:

    <a href="<perch:pages id=" pagePath" />">
    <perch:pages id="pageNavText" /></a>


    I have it in the page as:

    <?php
                perch_pages_navigation([
                    'template' => 'submenu.html',
                    'from-path' => '/quizzes',
                    'levels' => 1
    ])
                ?>

    This creates the menu item, but with a blank link:

    <a href="">

    Countdown</a>


    Any suggestion as what to look at or what is going wrong?

  • Gareth S

    Approved the thread.