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 11 months 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

Reply

You must log in to post.

About this Topic