[wp-hackers] WP Menu - Showing wrong active class (for me anyway).
travis at travisnorthcutt.com
Mon Jun 20 16:27:33 UTC 2011
This Trac ticket may cover at least some of the problem you're
On Mon, Jun 20, 2011 at 9:51 AM, Robert Lusby <nanogwp at gmail.com> wrote:
> I have a WP Menu setup in the standard way in a theme.
> That menu us made up of various pages including:
> Home, Blog, Events, Contact.
> Events is a custom post type.
> When visiting any of the top level "pages", the current active menu class
> is correctly added to the right part of the menu structure. So Contact adds
> a current class to the Contact menu item etc ...
> When visiting an item of the "events" custom post type .. eg
> http://example.com/events/**event1 <http://example.com/events/event1>
> the current class gets added to the "Blog" menu item, and not the Events
> menu item.
> Any idea why this is? How do I tell it that this is a child of Events, and
> not a child of Blog?
> /events, /blog are all pages.
> wp-hackers mailing list
> wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
More information about the wp-hackers