What's the best way to add a Custom Post Type's Archive page to the navigation? (2 posts)

  1. AndrewMunro
    Posted 5 years ago #

    I'm currently developing a WordPress Theme using a Custom Post Type of "portfolio".

    If someone downloads & installs the theme using the default WP permalink structure (?p=123), what's the best way for them to add the "portfolio" C.P.T to the main navigation?

    I realise that they could use a custom link through the custom menus page with a URL of /?post_type=portfolio, which would display the archive page for this particular CPT, but how would a standard user know to do this without telling them? Could you achieve it without using custom menus?

    I guess my question also refers to anyone using a custom permalink structure. If the URL for the CPT's archive page is http://www.mysite.com/portfolio/ how do they add this to the navigation? Is using custom WP menus the only way?

  2. AndrewMunro
    Posted 5 years ago #

    After further reading it appears this is a known issue with WP and Custom Post Types. There is no easy way to add the archive page to the nav.


Topic Closed

This topic has been closed to new replies.

About this Topic