Advertisements
Tag Archives: get_category_template

get_category_template

Retrieve path of category template in current or parent template.Works by first retrieving the current slug for example ‘category-default.php’ and then trying category ID, for example ‘category-1.php’ and will finally fallback to category.php template, if those files don’t exist.

1258

Advertisements
Continue reading