Opened 10 years ago
Closed 10 years ago
#34231 closed enhancement (wontfix)
Support for post types in is_archive()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
I think that great idea will be add support for param of post type in is_archive() function.
This is alias for is_post_type_archive()
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
is_archive()
can be any number of kinds of archives, not just post type archives. This would be an extremely ambiguous argument - is it the name of a post type or a term or something else?