Advertisement

load_template

Require the template file with WordPress environment.

locate_template

Retrieve the name of the highest priority template file that exists.

get_attachment_template

Retrieve path of attachment template in current or parent template.

get_embed_template

Retrieves an embed template path in the current or parent template.

Advertisement

get_singular_template

Retrieves the path of the singular template in current or parent template.

get_single_template

Retrieve path of single template in current or parent template. Applies to single Posts, single Attachments, and single custom post types.

get_page_template

Retrieve path of page template in current or parent template.

get_search_template

Retrieve path of search template in current or parent template.

Advertisement

get_privacy_policy_template

Retrieve path of Privacy Policy page template in current or parent template.

get_front_page_template

Retrieve path of front page template in current or parent template.

get_home_template

Retrieve path of home template in current or parent template.

get_date_template

Retrieve path of date template in current or parent template.

Advertisement

get_tag_template

Retrieve path of tag template in current or parent template.

get_taxonomy_template

Retrieve path of custom taxonomy term template in current or parent template.

get_category_template

Retrieve path of category template in current or parent template.