WordPress.org

Ready to get started?Download WordPress

Forums

function to determine which template file is currently being in use (1 post)

  1. crysman
    Member
    Posted 1 year ago #

    Hi, please, I cannot find any sitable function which could return the current page/post template file (.php) being in use :(

    I've tried get_page_template(), but that does not work e.g. for 404 or posts (either all posts nor single)...

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic