A WordPress-centric search engine for devs and theme authors



wp-includes/template.php ›

Functions20
Template loading functions.


Function Short description
get_404_templateRetrieve path of 404 template in current or parent template.
get_archive_templateRetrieve path of archive template in current or parent template.
get_attachment_templateRetrieve path of attachment template in current or parent template.
get_author_templateRetrieve path of author template in current or parent template.
get_category_templateRetrieve path of category template in current or parent template.
get_date_templateRetrieve path of date template in current or parent template.
get_embed_templateRetrieves an embed template path in the current or parent template.
get_front_page_templateRetrieve path of front page template in current or parent template.
get_home_templateRetrieve path of home template in current or parent template.
get_index_templateRetrieve path of index template in current or parent template.
get_page_templateRetrieve path of page template in current or parent template.
get_post_type_archive_templateRetrieve path of post type archive template in current or parent template.
get_query_templateRetrieve path to a template
get_search_templateRetrieve path of search template in current or parent template.
get_single_templateRetrieve path of single template in current or parent template. Applies to single Posts, single Attachments, and single custom post types.
get_singular_templateRetrieves the path of the singular template in current or parent template.
get_tag_templateRetrieve path of tag template in current or parent template.
get_taxonomy_templateRetrieve path of custom taxonomy term template in current or parent template.
load_templateRequire the template file with WordPress environment.
locate_templateRetrieve the name of the highest priority template file that exists.