[wp-trac] [WordPress Trac] #41742: New conditional tag to decide if a post has a custom template

WordPress Trac noreply at wordpress.org
Mon Aug 28 13:34:38 UTC 2017


#41742: New conditional tag to decide if a post has a custom template
-------------------------+-----------------------
 Reporter:  danburzo     |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:  template
-------------------------+-----------------------

Comment (by danburzo):

 @SergeyBiryukov yes, sorry for not leaving a comment along with the
 closing. I realized in the meantime the `is_page_template` conditional tag
 exists, I had somehow missed it in the first place. I think that covers
 it, yes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41742#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list