WordPress at a glance
Главная Functions Theme (template) Theme files connection

Theme files connection (рубрика)

comments_template()

Load the comment template specified in $file.

get_footer()

Load footer template.

get_header()

Load header template.

get_parent_theme_file_path()

Retrieves the path of a file in the parent theme.

get_search_form()

Display search form.

get_sidebar()

Load sidebar template.

get_stylesheet_directory()

Retrieve stylesheet directory path for current theme.

get_stylesheet_directory_uri()

Retrieve stylesheet directory URI.

get_stylesheet_uri()

Retrieves the URI of current theme stylesheet.

get_template_directory()

Retrieve current theme directory.

get_template_directory_uri()

Retrieve theme directory URI.

get_template_part()

Loads a template part into a template.

get_theme_file_path()

Gets the path to the specified theme file. Work with child themes.

get_theme_file_uri()

Retrieves the URL of a file in the theme.

get_theme_root_uri()

Retrieve URI for themes directory.

is_page_template()

Whether currently in a page template.

load_template()

Require the template file with WordPress environment.

locate_template()

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