[wp-trac] [WordPress Trac] #22847: Include search.php to archives template hierarchy
WordPress Trac
noreply at wordpress.org
Mon Dec 10 13:54:34 UTC 2012
#22847: Include search.php to archives template hierarchy
-----------------------------+-------------------------
Reporter: alexvorn2 | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Template
Version: trunk | Severity: normal
Keywords: 2nd-opinion |
-----------------------------+-------------------------
If we will use
{{{
if( is_archive()) {
echo 'test';
}
}}}
in the search.php file willget a false result from is_archive function...
I think that search file is an archive too because it contains old
posts...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22847>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list