Archive | /wp-includes/theme.php RSS feed for this section

get_front_page_template

Retrieve path of front-page template in current or parent template.Looks for ‘front-page.php’.

1400

Continue reading

get_current_theme

Retrieve current theme display name.If the ‘current_theme’ option has already been set, then it will be returned instead. If it is not set, then each theme will be iterated over until both the current stylesheet and current template name.

1344

Continue reading

get_comments_popup_template

Retrieve path of comment popup template in current or parent template.Checks for comment popup template in current template, if it exists or in the parent template.

1288

Continue reading

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

Continue reading