WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22847, comment 3


Ignore:
Timestamp:
12/10/12 20:27:20 (2 years ago)
Author:
miqrogroove
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22847, comment 3

    initial v1  
    1 Use {{{if ( is_search() )}}} or use {{{if ( is_archive() or is_search () )}}} as appropriate for your output.  These conditional functions are not connected to the template hierarchy in any way. 
     1Use {{{if ( is_search() )}}} or use {{{if ( is_archive() or is_search () )}}} as appropriate for your output.  These conditional functions are not tied to the template hierarchy, but to the query object in use. 
    22 
    33I believe the request to modify the logic of is_archive() to be invalid.