[wp-trac] [WordPress Trac] #23202: Enable is_page_template() within the Loop

WordPress Trac noreply at wordpress.org
Tue Jan 15 14:21:48 UTC 2013


#23202: Enable is_page_template() within the Loop
-----------------------------+--------------------------
 Reporter:  wpsmith          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 There have been a few times where, in the loop, I need to know if I were
 on a page using a specific page template.

 The function `in_the_loop()` provides this functionality for us to expand
 is_page_template().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23202>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list