WordPress at a glance
Home Functions From tag: theme path (theme folder url)

theme path (theme folder url) (tag)

get_parent_theme_file_path()

Retrieves the path of a file in the parent theme.

get_parent_theme_file_uri()

Retrieves the URL of the specified file of the parent theme.

get_stylesheet_directory()

Retrieve stylesheet directory path for current theme.

get_stylesheet_directory_uri()

Retrieve stylesheet directory URI.

get_template_directory()

Retrieve current theme directory.

get_template_directory_uri()

Retrieve current theme directory URI. Returns the URL to the root theme, not a child one. Doesn't contain a closing slash at the end.

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()

Retrieve path to themes directory.

get_theme_root_uri()

Retrieve URI for themes directory.

register_theme_directory()

Register a directory that can contain themes.