Given that the markup of your menu does not seems to generating all of the classes I’d expect to see, I’ll guess at the problem.
- Your theme is using a custom Walker
- Or something– theme or plugin– has added a filter to (probably)
wp_nav_menu_css
. - Though there are other filters that could be used.
To fix it, or try to, make sure your theme does not include a walker
argument when it calls wp_nav_menu
and search your theme and plugins for wp_nav_menu_css
and other relevant filters.
If it is a walker you can remove that walker argument, though it may effect other theme functionality. If it is a filter it can be removed with remove_filter()
Related Posts:
- Sidebar links for different pages
- Blog Posts in Custom Menu
- disable Tab post on nav-menus page (Admin)
- Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
- How to output all taxonomy links from a custom post type in a menu?
- Dynamic Menu Item
- Apply the_title() filter in post & page title, but not in menu title
- Custom Post Types, slug, archive and SEO plugins
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- How to disable drafts?
- how to enable different number of revisions for different blogs when using WPMU?
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Unattaching images from a post
- Post from front-end only by logged in users, form posts as “posted by:
- Allow role to delete posts but block him the wp-admin
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- Using Custom Posts with Metaboxes and Drop-downs
- How to show featured image in custom post type dashboard post page
- Archive Page for Custom Post Type is not Working
- Posts vs. Pages
- Dynamic carousel on individual posts
- Filter Custom Post Type by Category with Ajax
- Disable most recent & view all (TABS) on nav-menu.php
- How to add pagination in between post and comments?
- Print all the tags from a custom post type Please
- Display multiple custom taxonomy values on single custom post types page?
- Is it possible to change post id for an already added menu item in WordPress?
- Show posts by a custom post author
- Custom loop pagination links not working
- wp-cli post create & media import issues
- More then one menu items are assigned with “current-menu-item” class
- Search results posts_orderby and ID
- Unable to restore from backup – how to obtain old blog posts?
- Getting value from get_post_custom
- custom post template file not shown, instead all the time 404.php
- Set Default Category to Username
- show custom post type category dropdown sorting result on same page
- Custom Post Type Rewrite To Include Parent Page(s)
- Redirect to another page using contact form 7? [closed]
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- Custom taxonomy archive page problem
- Tell WP to use a specific template file in posts
- Two Custom Post Types with Identical Articles Competing for the same Slug
- Custom Post Type archive
- WordPress Menu options in the Admin: Posts for the dropdowns
- if in category but only with post meta
- How to add convenient buttons for new custom post statuses
- Auto delete posts based on content text
- Custom home page with full post for first one only
- WordPress post filter menu
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Display value of custom field at the beginning of a post
- Get current post’s nav menu name (term name)
- Programmatically add posts from specific category to menu
- Can WordPress handle following functionalities?
- add_rewrite_rule and template redirect not working
- Custom post type slideshow background images to insert in a plugin
- Trying to exclude custom posts based on date, while sorting by custom field
- Changing permalink of WordPress
- Hook save_post_cpt not triggered when custom fields are modified
- Featured Images most often doesnt appear
- Alt text attributes not showing over portfolio images
- Adding an option to post editor to show a site disclaimer or message
- Added a ACF field to custom page and want the results to show as a column in admin
- WordPress Pods Custom Post Type – separate Media Upload folder for each custom Post Types
- Template for displaying CPT / Taxonomy URL issues
- Put page on Archived statut after end of publication date
- post and page and custom post type
- Loop through taxonomies and loop through their terms (Newbie question)
- My posts page is missing the page title
- Hiding title of selected post without plugins
- Add Categories To Custom Post
- How do I set content in my pages so that it remains permanent while blog posts are added below?
- how to redirect page after delete post inside a post page?
- Permalink base only for posts
- Custom post type – Loop out in random order but same 15 to appear first… still random
- Custom post type template not called
- How to use Categories of custom post type
- issue in wordpress auto delete post and redirect to another 1
- Static text above category page
- Custom Select Query pagination not working properly
- Custom Single Post Type not referring to single-post-type.php File
- Help with a function that will place a map pin for all posts
- Get new post meta data when (custom) post is saved
- How do I control the fallback query after the original query returned cero posts?
- Adding The Post Template Dropdown to WP-Admin
- wordpress paginate, link to the right page
- Successive creation of over 1000 posts causes 404?
- How can I allow users (subscribers) to download selected posts into a single PDF? (RESOLVED)
- Choose options via url
- Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
- Display ONLY Latest Post From Several Categories
- custom post type single page template not working
- How to make posts appear under pages
- Display post structure in function
- Default post type doesn’t display in url
- How do I get content of custom post type through post ID
- WordPress Custom Post type csv exporter
- Edit Page button is gone