Custom Post Type archive in Menu
-
I have been having this issue for a while and have done some odd workarounds but I am wondering if anyone has any insight? So I have a custom post type. Call it Movies. So the URL to the archive page for all Movies would be site.com/movies
I would like to make this a menu item using the menu interface. The only current way I can do this is to make custom link. This works ok, however I would really like the menu item class to be set as an ancestor or parent when you are within one of the custom post type single pages or taxonomy pages.
It is possible to make a page with the slug that matches the custom post type but the class doesn’t register and also it does not recognize custom post type single items and taxonomies as children.
Anybody have any ideas on this?
- The topic ‘Custom Post Type archive in Menu’ is closed to new replies.