WordPress.org

Make WordPress Core

Opened 20 months ago

#24664 new enhancement

Let taxonomy term control CPT archive

Reported by: ryanve Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

In register_post_type, it would be useful to have the option to use an existing taxo term as a custom post type archive. Users could then choose which posts appear in the archive and could easily edit the archive description via the term. To achieve this, 'has_archive' could accept an array of the form array($taxo, $term) like array('category', 'events') or a separate option called 'use_archive' could be used.

Change History (0)

Note: See TracTickets for help on using tickets.