OK so i have custom post types
and custom taxonomies
. I have a sub-menu that is made of the custom taxonomies.
Example:
registered taxonomy: Movies
and
terms: action, adventures, etc. (= menu items)
Problem:
Now I need to add a highlight-class to the terms when the currently displayed page is an archive of one of the terms.
I am almost looking to use my nav menu as a breadcrumb so to speak.
Ok. So instead of pasting the code here ill just link to it since i do not feel like adding the code format to each line. This is most likely just temporary but will get what i need done. It is used with some of jquery scripting but should not need it. Feel free to edit as you wish and update this question with your re-writes
http://pastebin.com/bWC7a1ej