Opened 8 months ago
Let taxonomy term control CPT archive
|Reported by:||ryanve||Owned by:|
|Component:||Posts, Post Types||Keywords:|
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.