Wordpress menu ancestor not given ancestor class

Please take a look at this: http://halo.meredevelopment.co.uk/2011/11/creative-and-digital-media-apprenticeship/

The menu item 'Halo Home' has the classes 'current-post-ancestor' and 'current-menu-parent' as expected. Any idea why 'Halo News' item above it doesn't have the ancestor class?

If you look at this is does: http://halo.meredevelopment.co.uk/category/halo-home/

I believe that all ancestors in menus should be given either a parent or ancestor class depending on hierarchy, but cannot back this up.

Thanks!

Answers


Just incase anyone else needs this, the 'Halo News' item I mentioned wasn't a category, it was a custom link in the menu. I assumed that the classes we based on menu hierarchy not page/post structure... I assumed wrong :)


Need Your Help

Unable to move between textboxes using the arrow keys

javascript jquery

I'm having a bit of trouble with my javascript and was hoping you could help.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.