• Resolved rquang

    (@rquang)


    I am just a bit unsure how to display a CPT within another CPT as a submenu in the admin menu. What should I be putting in the “Show In Menu” text field to accomplish this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    From the codex to help illustrate:

    'some string' - If an existing top level page such as 'tools.php' or 'edit.php?post_type=page', the post type will be placed as a sub menu of that.
    

    So you would be able to use edit.php?post_type=page but replace “page” with whatever your intended parent post type is.

    Thread Starter rquang

    (@rquang)

    That did the trick! Very much appreciated.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Awesome to hear. Have a good rest of your day.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Show In Menu – Submenu’ is closed to new replies.