Enable is_page_template() within the Loop
|Reported by:||wpsmith||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch reporter-feedback|
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().
Change History (8)
Note: See TracTickets for help on using tickets.