Opened 5 months ago
Last modified 5 months ago
#23202 new defect (bug)
Enable is_page_template() within the Loop
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: |
Description
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().
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.