[wp-hackers] Menu classes for custom post types?

Helen Hou-Sandi helen.y.hou at gmail.com
Wed Mar 2 21:00:11 UTC 2011

Still have to use custom link at the moment, but you can get the
indications. See:

I ended up using the description instead of title (didn't like the tooltip),
but it works great for individual items and using the current_page_parent
class. I haven't used it for a proper CPT archive yet (sticking to a
shortcode in a page for the moment for another reason), but I would think it
would work just the same.

Helen Hou-Sandi

On Wed, Mar 2, 2011 at 3:32 PM, Andrew Nacin <wp at andrewnacin.com> wrote:

> On Wed, Mar 2, 2011 at 3:27 PM, Joshua Sibelman
> <joshua.sibelman at gmail.com>wrote:
> > I'm liking 3.1's automatic handling of custom post type archive pages,
> but
> > two issues:
> >
> > 1) The only way to add these listings to menus seems to be via a custom
> > link.
> >
> > 2) Consequently, there's no indication in the menu that you're on a
> current
> > post type page, or ancestry when looking at one of the individual custom
> > post type items.
> >
> > Has anyone else run into this issue, and if so, figured out a way to work
> > around it?
> >
> Correct on both counts. This was low priority, and only one developer
> really
> did any work on CPT archives. I'd like to see it implemented in 3.2 but
> there needs to be dev buy-in for it to happen.
> Nacin
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list