WPIntell

Source evidence

Custom post types

Navigation Menu IDs & Classes · support · 2013-01-03T21:00:00+00:00

mixedsentiment
mediumseverity
0.73relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 29 rows with source links

24.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Cultivate resolved
Is there anyway to get the plugin to add the current_page_item class to custom post type menu items? I have a custom post type setup to display job posts with the standard posts appearing under the news menu item. When i click on the Jobs menu item to display the job posts the news menu item has the current_page_item class so the wrong item is highlight. Any help appreciated. http://wordpress.org/extend/plugins/navigation-menu-ids-classes/ This sounds like an issue with your category structure… WP handles the logic behind which HTML elements should get “current” status, including: current-menu-item current-menu-parent current-menu-ancestor current-page-item current-page-parent current-page-ancestor All of the above are items you can choose to include or exclude from your final mark-up, so, if something is appearing in the wrong place, it has to do with your nesting structure, not something WP or the plug-in is doing… Hope this helps, if you’d like deeper help, feel free to contact me directly, and please provide a URL where I could see exactly what you mean. Cheers, Atg

Comments

1 shown
Aaron T. Grogg 2013-01-12T12:52:00+00:00

This sounds like an issue with your category structure… WP handles the logic behind which HTML elements should get “current” status, including: current-menu-item current-menu-parent current-menu-ancestor current-page-item current-page-parent current-page-ancestor All of the above are items you can choose to include or exclude from your final mark-up, so, if something is appearing in the wrong place, it has to do with your nesting structure, not something WP or the plug-in is doing… Hope this helps, if you’d like deeper help, feel free to contact me directly, and please provide a URL where I could see exactly what you mean. Cheers, Atg