WordPress.org

Forums

Custom Menu (1 post)

  1. eharnarine
    Member
    Posted 1 year ago #

    I've added a custom menu and it looks to be working. I would like the menu to show only on pages with a custom template assigned, but I'm not sure where to add the following:

    <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>

    I've added it to my custom template page but it's not showing up.

Topic Closed

This topic has been closed to new replies.

About this Topic