• Hi, I wonder if there is a way to detect which php file is responsible for the webpage I am visiting. There are some php/html files in the folder. How can I know in which part they play a role? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    if I understood your question correctly, here is the link to the diagram showing which theme files are called to generate a WordPress page based on the WordPress template hierarchy.

    Thread Starter hh2015

    (@hh2015)

    yes, helpful. Thank you! I also googled it. And I liked a plugin called “what the file” from never5 :-).

    Thread Starter hh2015

    (@hh2015)

    Hi, I still need some help on this. I used Firefox/chrome inspector to try to find the information. But I could only get the code (php file + database?), not the php file which was used to execute this code. I want to find the name of this php file. What should I do? The “what the file” plugin seems too simple, not much help. Also I saw a code like “<a class="house" title="click here"></a>“. Could you please remind me of where I can find “house” under “class”? I searched css files but not there. Thanks :-)!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to determine which php file for the site’ is closed to new replies.