How do I get the name of the file that is being used to render the current page?

后端 未结 4 1998
暖寄归人
暖寄归人 2020-12-20 21:21

Let\'s say I have a WordPress installation, with a page named \"About\". If I go to http://example.com/about, I know from WordPress\' template hierarchy page th

4条回答
  •  清歌不尽
    2020-12-20 21:54

    A quick search on the WordPress plugin repository brings up a WordPress Debug Bar Template Trace.

提交回复
热议问题