The classes are not added by the Twenty Ten theme, but by the common custom navigation menu code, in _wp_menu_item_classes_by_context(), which is called from wp_nav_menu().
If you want to add extra classes you can do that by either hooking into wp_nav_menu_objects, called once with the whole menu tree, or into nav_menu_css_class, called when rendering each individual item.
Related Posts:
- Remove current_page_parent nav class from blog index when in CPT
- Why are navigation items saved in the database?
- How do I create an archive page for standard posts?
- Add/Remove current_page_parent class
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Custom Post Types in the WordPress Navigation Menu
- How can i automatically add CPT single pages as sub menu items
- Custom post type posts wont show in wp_nav_menu()
- Manually adding current_page_parent to wp_list_pages()
- cpt not display inside nav menu
- 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
- How to build help pages similar to WordPress Developer Resources
- What template files do I need to customise custom-category-term-links rather than fall back on archive.php?
- WordPress is adding margins and padding to my custom menu?
- Correct classes for WordPress menu items
- Custom Taxonomy Navigation, with current menu items for children?
- Customize the Dashboard Menu Editor
- Creating a navigation menu of all posts of a custom post type and their children posts?
- Display posts from Custom Post Type in category page on front-end
- Use menus with anchors
- How to make this menu drop down or like accordion
- Get term name and term parent into custom post type permalink
- Primary navigation menu & footer not showing in category / tag page
- Custom Post Type Nav to Subpage
- Using a page as home, how do I prevent nav from setting both home and page links active?
- Custom Post Types don’t highlight in menu nav
- Querying both pages and posts
- Using default WP menu functionality to link to custom post-type listing?
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Help need making decision. Ads rotating site on wordpress
- wordpress wp_list_pages help
- Query & Order posts by custom fields
- Showing up my custom post type in primary navigation
- Paging doesn’t work?
- custom taxonamy and post type
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- Return the latest post from a custom Taxonomy and Post Type
- Don’t know how to show custom taxonomies from a custom post_type
- Hide post navigation if current post is in a category with only one post
- Not Able to Get Custom Post Type Gallery Images URL
- JS innerhtml changing style when using AJAX
- Display a grid of taxonomy terms at root taxonomy page
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- How to change the post type a theme shows by default?
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- page menu entry for custom post type
- How to display custom WP menus?
- How To Show All Custom Post Types In A Category Instead Of Pagination?
- Event Custom Post Type Title show by upcoming Event Dates
- How to have this permalink structure: post_type/postname/custom_inner_page
- Building a Treatments Page, What Do I Use?
- Is there a way to establish parent/child relationship in WP menu links exclusively?
- Use custom walker to add taxonomy terms to main nav menu
- A page that shows a list of a specific custom post type
- Custom post types and category archive
- custom comments form for custom post type
- How to produce a sub-page-system in WordPress
- Single custom post type’s menu ancestor/parent is Posts archive page
- Losing Nav Active State in Menu
- menu link to custom post_type?
- Review site custom post type structure
- WebP Fallback for Inline Background Image in Style Attribute
- How to specify a template for a path like http://example.com/something?
- Redirect to another page using contact form 7? [closed]
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Ordering Submenu Pages in WP 3.1
- How can i link a custom post type thumbnail to intermediate size
- Including link to custom post type in ‘wp_list_pages’ function
- i cant see the max_num_pages of a custom wp query
- Archieve.php not loading for custom post type
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- Which Template Page Should I Use?
- detect your custom post type in WordPress
- How does the ‘the_post_navigation()’ work for CPT’s?
- Display custom post using ID
- Custom WP_Query doesn’t display all posts
- How can I use archive-{post_type}.php theme template?
- Specify a particular page to list all custom types
- WordPress app page not found error for posts with hyphen in permalink
- Where is the sticky post option?
- Custom Post Type Link added to menu won’t show in frontend
- Two column layout with alphabetical ordering
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Get custom post type categories to show up in menus
- Create a comments template for custom post types
- Custom post type permalink sends to 404.php
- How can I create an automatic drop down menu with my tags?
- show current item in custom menu, when inside a custom post type
- WP_Query with custom post type ID
- WordPress menu with custom taxonomy