r and string in ASP.NET?
What is the difference between var and string in ASP.NET?Why get_page_template() doesn't show taxonomy template file name?
I made a custom taxonomy called - work-category and a template file for it called - taxonomy-work-category.php. That part work just fine.
For a purpose I did put get_page_template() in that taxonomy-work-category.php file to get the current template file name. But it does print out as page.php (with full path ofcourse). I was expecting it to print out taxonomy-work-category.php.
Even when I'm certain it is printing out from a custom taxonomy template file - Why doesn't get_page_template() function doesn't returns the taxonomy template file name?
What is the difference between var and string in ASP.NET?Why get_page_template() doesn't show taxonomy template file name?
I made a custom taxonomy called - work-category and a template file for it called - taxonomy-work-category.php. That part work just fine.
For a purpose I did put get_page_template() in that taxonomy-work-category.php file to get the current template file name. But it does print out as page.php (with full path ofcourse). I was expecting it to print out taxonomy-work-category.php.
Even when I'm certain it is printing out from a custom taxonomy template file - Why doesn't get_page_template() function doesn't returns the taxonomy template file name?
No comments:
Post a Comment