get_template_directory not working with child theme
barrykooij opened this issue · comments
Line 174
$this->template_name = str_ireplace( get_template_directory() . '/', '', $template );
WordPress plugin: Find out what template file (PHP) is used on the current page. What The File will be visible in the Toolbar when viewing your website.
barrykooij opened this issue · comments
Line 174
$this->template_name = str_ireplace( get_template_directory() . '/', '', $template );