WordPress.org

Ready to get started?Download WordPress

Forums

Custom Menu (1 post)

  1. eharnarine
    Member
    Posted 5 months 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.

Reply

You must log in to post.

About this Topic