WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Adding link to custom post in my nav menu (3 posts)

  1. nicolaelvin
    Member
    Posted 2 years ago #

    I know I can link to individual posts, but how can I get an option on my menu page to link to the whole of my custom posts, like an archive page of them all?

    http://wordpress.org/extend/plugins/custom-post-type-ui/

  2. nothin7
    Member
    Posted 2 years ago #

    WordPress is weird about custom post type archive permalinks. I ended up using one of the plugins suited for this purpose:

    http://wordpress.org/extend/plugins/simple-custom-post-type-archives/

  3. drewshane12
    Member
    Posted 1 year ago #

    nicolaelvin!

    This is your solution!

    I had the same problem when trying to add the "archive" also known as "index" page to my menu. For example if your Custom Post Type is shoes and you want to put a link in your menu pointing to the page that contains all your shoes.

    This is my solution.

    1. Install this plugin "Relative Menu Item" by "Perch Ten Design"
    2. In your Menu editor create a custom link with this as your link

    URL: %ROOT%/example
    Label: Example

    Where the example is is where you place the name of your custom post type or the rewrite slug you made for it.

    Hope this helped!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic