WordPress.org

Support

Support » Themes and Templates » Query the Page’s template name

Query the Page’s template name

  • 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?)

    TIA!

  • The topic ‘Query the Page’s template name’ is closed to new replies.
Skip to toolbar