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
- Calling Different Custom Post Timestamps in a table
- WordPress Multisite – Create Default Post and New Category On New Site Install
- Admin – create custom post status and display above table
- custom post template file not shown, instead all the time 404.php
- How to list recent posts in a wp nav menu?
- Set Default Category to Username
- How to allow visitors to filter posts by multiple taxonomies
- show custom post type category dropdown sorting result on same page
- Custom Post Type Rewrite To Include Parent Page(s)
- Thumbnail & Category link aside post
- Redirect to another page using contact form 7? [closed]
- Using wp_list_pages() after calling query_posts()
- How to include my own css in post
- Show posts count for Categories and Tags in wp_nav_menu
- How to add category post count in main navigation menu [closed]
- Custom post types related to same custom post type?
- How do I insert a post with custom post type and relate it to a custom taxonomy?
- Dynamically switch template on click
- “about us”, ” contact” sections should be article(post) or page in the simple small Business website?
- Is it possible to customize the post according to post format in single.php?
- Customize rel=canonical tag for single blog post
- a little direction on custom post type
- How to Use index.php file for “Blog” Page And this is Not a Home Page
- Format latest/newest post differently
- Custom taxonomy archive page problem
- Tell WP to use a specific template file in posts
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- relating business and products with custom taxonomy?
- Best Way to Add UnEditable HTML to Posts
- How safe is it to delete old posts edits to save database space?
- Two Custom Post Types with Identical Articles Competing for the same Slug
- Custom Post Type archive
- WordPress custom post type with folder structure in slug
- Using setup_postdata() with multi-dimensional array
- Is codex right on deleting post?
- How can I list posts by author?
- Check if a custom post type has already been created
- WordPress Query Posts From Category Post on Static Page
- Edit multiple custom post types while saving a new or edited post
- WordPress Menu options in the Admin: Posts for the dropdowns
- Is there a way to add the list of recent posts into the admin sub menu on hover?
- Create a custom posts page
- How to add automatically bootstrap 4 order-lg-1 and order-lg-2 classes for columns in foreach loop based on the count?
- if in category but only with post meta
- How to get different Related Posts
- How to add convenient buttons for new custom post statuses
- How to allow multiple thumbnail upload for Posts?
- add external project to web site wordpress on production
- Show custom post with custom categories with specific slug
- register_post_type permalink
- Display the 2nd category name of a custom post type without error if its null?
- Auto delete posts based on content text
- How to call posts under a specific category on static front page?
- Querying another post category to match current post and display in loop
- Custom home page with full post for first one only
- WordPress post filter menu
- Custom Post Limit for homepage only without plugin?
- Un-highlight Blog Menu Item when Category Menu Item is Selected
- Display value of custom field at the beginning of a post
- l accidentally permanently deleted a Draft. There’s any way I can recover it?
- datepicker value in mysql
- Inserting an example of the last 3 post on to the homepage
- Get current post’s nav menu name (term name)
- Static pages not working
- Optimize CPT-function with a loop
- Programmatically add posts from specific category to menu
- Add post tags to previously created custom post type
- Can WordPress handle following functionalities?
- Simple Custom Metabox Not Saving
- Get a term each custom post type
- Change default post style to columns
- Post titles and thumbnails as links to custom post types?
- Custom Post Type, post-formats associated to custom post type > 404 archives
- How to display only one category in a custom post type?
- Adding a custom post type meta field to rss
- How to restore deleted post related with deleted users
- Help with listing current users submitted custom post type in template file
- Delete post from admin but not from database
- Custom Post Type Single Loop Outputting Wrong Post
- add_rewrite_rule and template redirect not working
- Getting post and attached image from subdomain
- Custom post type slideshow background images to insert in a plugin
- Organization of time insensitive content
- wp_list_categories() Exclude All Categories Except One
- Custom Select Query – Selecting the Year?
- Deleting old posts
- How To Use Custom Tax of a Post Type
- Can I style single post that are in multiple catergories?
- Trying to exclude custom posts based on date, while sorting by custom field
- WordPress Post Deletion Issue
- How Can I Always Display A Particular Post First Using WP_Query?
- What would causes search to return incorrect results?
- Making a new post visible on a specific page
- Help on conditional statement to accompany wp_insert_post function please?