wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/template.php › WordPress File
Functions22
› Template loading functions.
Function | Short description |
---|---|
get_404_template | Retrieves path of 404 template in current or parent template. |
get_archive_template | Retrieves path of archive template in current or parent template. |
get_attachment_template | Retrieves path of attachment template in current or parent template. |
get_author_template | Retrieves path of author template in current or parent template. |
get_category_template | Retrieves path of category template in current or parent template. |
get_date_template | Retrieves path of date template in current or parent template. |
get_embed_template | Retrieves an embed template path in the current or parent template. |
get_front_page_template | Retrieves path of front page template in current or parent template. |
get_home_template | Retrieves path of home template in current or parent template. |
get_index_template | Retrieves path of index template in current or parent template. |
get_page_template | Retrieves path of page template in current or parent template. |
get_post_type_archive_template | Retrieves path of post type archive template in current or parent template. |
get_privacy_policy_template | Retrieves path of Privacy Policy page template in current or parent template. |
get_query_template | Retrieves path to a template. |
get_search_template | Retrieves path of search template in current or parent template. |
get_single_template | Retrieves path of single template in current or parent template. Applies to single Posts, single Attachments, and single custom post types. |
get_singular_template | Retrieves the path of the singular template in current or parent template. |
get_tag_template | Retrieves path of tag template in current or parent template. |
get_taxonomy_template | Retrieves path of custom taxonomy term template in current or parent template. |
load_template | Requires the template file with WordPress environment. |
locate_template | Retrieves the name of the highest priority template file that exists. |
wp_set_template_globals | Set up the globals used for template loading. |