WordPress.org

Ready to get started?Download WordPress

Forums

Query the Page's template name (1 post)

  1. nicjohnson
    Member
    Posted 6 years 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?)

    TIA!

Topic Closed

This topic has been closed to new replies.

About this Topic