Support » Themes and Templates » Query the Page’s template name
8 years, 10 months ago
I’m trying to display some things dynamically in my widgetized sidebar based on the page template that is being used.
Is there any way to query the template name so that I can determine which logic to use?
(Or, is there an even better way to display sidebar elements on given page templates?)