Opened 11 years ago
Closed 11 years ago
#34231 closed enhancement (wontfix)
Support for post types in is_archive()
| Reported by: | sebastian.pisula | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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?