I had the same problem some time ago and solved it by adding my custom menu in my custom theme header.php
(inside tag) instead of page.php
.
wp_nav_menu( array(
'theme_location' => 'my-custom-menu',
'container_class' => 'custom-menu-class' ) );
Here you can find a brief explanation about how to create and insert your custom menu
Hope you can solve it!
Related Posts:
- Query menu_order custom post types
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- wordpress custom post type remove duplicate menu item
- Get custom post type categories to show up in menus
- cpt not display inside nav menu
- Highlighting wp_nav_menu() Ancestor Class w/o Children in Nav Structure?
- How can I remove the “Add New” button in my custom post type?
- Get Custom Taxonomy ID within loop
- How can I get my Custom Post Types to appear in nav-menus.php ‘Menu’?
- Renaming Menu Item within Admin Menu Section for a Custom Post Type?
- How to Programically add to the new WordPress menus
- Categories under custom post types doesn’t show properly
- how to use two permalinks for one custom post type
- WP insert post PHP function dynamically generated Custom Fields
- WordPress is executing URL in code when called via wp_mail()
- Editor access to menu: custom post type missing
- Settings page above CPT page in admin section
- Remove current_page_parent from posts page link in WordPress nav menu
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- Menu Multiple Taxonomies
- Using several custom fields as custom post title
- Adding custom tables to WordPress
- Set menu active state for custom posttype and category, given custom taxonomy term
- Return the thumbnail meta data for getter and setter
- What’s the difference between same wp functions get_posts(); functions in different form?
- how to check if custom post type column already exists?
- Custom Post-Type not in admin menu
- Page vs Custom Post Types Differences/Issues
- Correct classes for WordPress menu items
- Can I list a custom post type within another custom post type in the admin area?
- How to make this menu drop down or like accordion
- I would like to have different styles for my posts based on the content of each post
- Checking if Post Title is Unique as Loop Criteria
- Using default WP menu functionality to link to custom post-type listing?
- Set URL link to featured image of custom post type
- On update or create post redirect to current post position in list
- Changing wordpress publication date to ACF date and time picker date not working
- How do I add a custom screen for a custom post type to be called from custom post row action?
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- Hide a widget inside a div on specific type of post
- How to import a custom MySQL DB table into a WordPress custom post type
- Display latest x posts from all categories in Custom Post Type/Taxonomy
- Foreach inside shortcode not working as planned
- Single custom post type’s menu ancestor/parent is Posts archive page
- menu link to custom post_type?
- categories should be available across all custom post types
- Including all post id’s of a custom post type into an array
- Understanding Post Formats/Custom Post types Etc
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Using wp_query to modify the loop in index.php for a CPT
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Custom Post not working as expected
- Show current custom taxonomy
- finding and using post type fields in WordPress
- How exclude or skip post type with get_next_post_link
- After creating Custom post type by user delete old one
- How to add new post using a form to categories when categories are using as menu
- Different post title, keywords and description
- post_content is stripping HTML when adding a new post? [closed]
- Querying a custom post type, but not show duplicates
- Different column width in 2 rows with bootstrap and custom post types-different classes needed
- Creating on-page options for Custom Post Type
- Custom Posttype and menu classes
- Post type Echo code is repeating on homepage
- How can I increase the post count for custom post types only?
- How do I call the custom Post Type name and permanent link to my php file?
- Menu for taxonomies and posts belongs to taxonomy
- Is it possible to hide nav menu items only when they are page titles (on specific templates) but not on the dashboard?
- Grouping custom wordpress post types by acf value
- Show code dependant on CPT & category
- Adding featured image to a new post using front-end form?
- WordPress – display relationship between blog posts and custom posts
- when looping through custom post data not appearing
- Getting a Post ID to show its content in a Popup
- Load info from customposttype into template page
- Visualize info in just custom post_type in theme
- How to create a Child & Siblings menu for a custom post type?
- Disable Sidebar on certain pages
- Show parent category and subcategory once in while loop
- How to get the posts that my following users are liked?
- Display related post content and custom field content
- Custom 404 redirect for a luddite
- Show tags of custom post types in WordPress
- can’t see categories in appearance-menu-categories
- Custom nav menu current item custom link problem
- wordpress form processing to custom post type not working
- List all posts from custom post type by taxonomy
- WordPress custom field images not getting inserted into array
- Meta-Box to add multiple items one at a time and on publish save all
- Values inside a custom field to determine which category posts to display
- how to override menu widget?
- Posts without featured image using other post’s featured image
- Building a List of Posts grouped by custom taxonomy as the section header only to be displayed if at least one post is in that tax
- Show posts of parent in edit.php
- What is the most efficient way to manage changes my product comparison tables?
- current_page_item and custom post type?
- sidebar hierarchical menu category & custom post type
- Custom post type is_singular condtional not working when managing sidebar display
- Issue displaying multiple TinyMCE editors with WPAlchemy