WordPress.org

Ready to get started?Download WordPress

Forums

Custom post type and sub navigation (1 post)

  1. danlawson
    Member
    Posted 1 year 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