[wp-trac] [WordPress Trac] #23826: Funky conditional tags for posts archive
WordPress Trac
noreply at wordpress.org
Wed Mar 20 16:18:51 UTC 2013
#23826: Funky conditional tags for posts archive
--------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: trunk
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by ericlewis):
* keywords: close =>
Comment:
Replying to [comment:1 alexvorn2]:
> is_archive() function is for only tags page (tag.php), categories page
(category.php), other taxonomies pages, so
> "is_archive" for front page will be always false...
>
When the front page or another page is a placeholder for a post archives
page, it is an archive page shoehorned into a front-page or a single page,
and should probably be considered a post type archive, or at least lead to
a discussion, because this leads to unexpected functionality of the
is_post_type_archive() function.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23826#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list