[wp-trac] [WordPress Trac] #22847: Include search.php to archives template hierarchy

WordPress Trac noreply at wordpress.org
Mon Dec 10 20:24:53 UTC 2012


#22847: Include search.php to archives template hierarchy
-------------------------+------------------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:  3.4.2
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |
-------------------------+------------------------------

Comment (by miqrogroove):

 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.

 I believe the request to modify the logic of is_archive() to be invalid.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22847#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list