Custom post type and sub navigation (1 post)

  1. danlawson
    Posted 3 years ago #

    Hi all,

    I have a main navigation consisting of pages, each page has a number of subpages making up the sub navigation.

    I am using a common subnav.php include to display the sub nav for each page. The problem is I have a custom post type 'recipes' which is using the 'single-recipes.php' and Im unsure about how to display the subnav on this page.

    The structure is as follows:

    > Recipes & Ingredients
    >> Our Process
    >> Ingredients Used
    >> Highest Rated Recipes
    >>> Recipes Listing (single-recipes.php)

    So if the current page is 'Recipes Listing' I need the Our Process, Ingredients Used and Highest Rated Recipes sub nav items to still display.

    Thanks for help with this.

Topic Closed

This topic has been closed to new replies.

About this Topic