What's the best way to add a Custom Post Type's Archive page to the navigation?
-
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 https://www.mysite.com/portfolio/ how do they add this to the navigation? Is using custom WP menus the only way?
- The topic ‘What's the best way to add a Custom Post Type's Archive page to the navigation?’ is closed to new replies.