Filter wp_nav_menu_objects
and add your custom items dynamically (see this example or this). You get the current list of items and the arguments wp_nav_menu()
was with as parameters. Then you can just add new items or remove existing ones.
Related Posts:
- Remove current_page_parent nav class from blog index when in CPT
- adding .current* tags to custom post types and taxonomies
- Add/Remove current_page_parent class
- Custom Post Types in the WordPress Navigation Menu
- How can i automatically add CPT single pages as sub menu items
- How to create a Child & Siblings menu for a custom post type?
- Navigation not working for custom post type pages
- wp_nav_menu doesn’t seem to work on custom post type pages
- Custom nav menu current item custom link problem
- Calling the first & last post by category in custom post type
- current_page_item and custom post type?
- Navigation won’t update to show full path to single post
- Adding a Custom Post Type into the menu screen
- Adding a menu item for a Custom Post Archive
- Adding custom post type archives to a WordPress menu
- WordPress Custom Post Types with a page as a parent?
- Now can I group custom post types together?
- How to order adjacent posts (prev / next) by custom field value?
- How to model a hierarchy for courses, levels and lessons?
- How to add meta box to backend menu page
- Hide custom post type from nav menu manager
- wp_list_pages not showing cpt as I expected
- Menu with Automatic Pages Included from Custom Post Type
- Nav menu of all posts in a custom post type
- posts_nav_link on single post template
- Dropdown list of a custom post type
- Which User Role for Custom Post Type Menu – wp_nav
- Custom Taxonomy Breadcrumb Navigation
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- Adding Custom Taxonomy Archive Link to Nav Menu Shows Up As (Invalid)
- Menu highlight custom post type archive
- wp_get_nav_menu_items wp-admin/customize.php problem
- current-menu-item not working with custom post type
- Showing Custom Content in a Nav Dropdown
- ‘Pages’ widget alternative for custom post types?
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- wp_nav_menu() mark current item ancestor of custom post type
- Hierarchical Custom Posts – Highlighting Current Post in Sub-Menu
- How to change the admin menu “Pages” to something else
- Menu Multiple Taxonomies
- Navigation menus not showing because of custom post type filter
- Custom Post Type Navigation on Custom Field
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Set menu active state for custom posttype and category, given custom taxonomy term
- How can i change the output of posts_nav_link();
- Function to display custom post type on front page makes menu items dissapear
- Correct classes for WordPress menu items
- Creating a navigation menu of all posts of a custom post type and their children posts?
- How to make this menu drop down or like accordion
- Custom Post Types don’t highlight in menu nav
- Using default WP menu functionality to link to custom post-type listing?
- wordpress wp_list_pages help
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- How to display custom WP menus?
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Is there a way to establish parent/child relationship in WP menu links exclusively?
- A page that shows a list of a specific custom post type
- Single custom post type’s menu ancestor/parent is Posts archive page
- Review site custom post type structure
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Including link to custom post type in ‘wp_list_pages’ function
- Which Template Page Should I Use?
- How does the ‘the_post_navigation()’ work for CPT’s?
- WordPress menu with custom taxonomy
- Displaying Custom Posts
- List All Custom Post Types Posts in Nav Menu Dynamically
- Custom Posttype and menu classes
- highlight parent page menu item when in custom post type
- Custom post type post in custom menu
- Custom post type posts wont show in wp_nav_menu()
- Home page is getting current-menu-item even if it’s not home
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- Include “Scheduled” (“Future”) Posts in WordPress Post Navigation ( previous_post_link, next_post_link ) for a Specific Custom Post Type
- How to get next post link of child custom post type from parent post and get next post link of parent post from the last child post?
- How can I put content before my custom post type default pages?
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- wp_get_nav_menu_items doesn’t return custom post type item
- Automatically add CPT UI categories to the menu
- Insert a hash into the url of custom posts to make them function as anchors
- Possition a Custom Post Type Tab under Settings
- how to display notifications in the wordpress menu when a new post is published
- Menu disappears with custom post type link
- Use the page picker from wordpress menu creation page
- How to display custom post type in a submenu?
- add current-menu-item to multiple custom post types
- Nav style for current page with custom post type
- Admin menu post type
- How to display the FAQ Archive page in my menu
- Custom Taxonomy Showing in WP Menu
- Plugins for putting Custom Post Types into the Menu
- No Current Class showing in Menu for Custom Post Types
- Custom post type in submenu with custom meta box as a title with custom html
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- Custom post type navigation – 404 on page 2
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- Highlight specific menu item when custom post is page
- Pagination for Custom Post Type with Multiple Types
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- get_the_post_navigation not working