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

get_query_template

Retrieve path to a templateUsed to quickly retrieve the path of a template without including the file extension. It will also check the parent theme, if the file exists, with the use of locate_template(). Allows for more generic template location without the use of the other get_*_template() functions.

1653

Continue reading

get_page_template

Retrieve path of page template in current or parent template.Will first look for the specifically assigned page template The will search for ‘page-{slug}.php’ followed by ‘page-id.php’ and finally ‘page.php’

1544

Continue reading