Skip to main content
We are Brand SEO Beijing serving international business, your marketing partner, Contact us by mi@mgsh.com.cn

Website development code debugging - output the path that calls the current template file

wp-includes\ in the website CMS installation directorytemplate-loader.php file (add debug code below line 65)

if($_GET[tpl]=='die'){ die($template); }

ps: Enter parameters in the address, and get passed for example: http://localhost?tpl=die to see the path to call the template file.
 

Back to Top