Other Theme Functions (category)
add_theme_support() | Registers theme support for a given feature. |
bloginfo() | Displays information about the current site. |
body_class() | Displays the class names describing the current page. Intended for use in the <body> element. |
current_theme_supports() | Checks a theme's support for a given feature |
get_custom_header_markup() | Retrieve the markup for a custom header. |
get_custom_logo() | Returns a custom logo, linked to home. |
get_header_image() | Retrieve header image for custom header. |
get_header_image_tag() | Create image tag markup for a custom header image. |
get_header_textcolor() | Retrieves the custom header text color in 3- or 6-digit hexadecimal form. |
get_header_video_url() | Retrieve header video URL for custom header. |
get_page_template() | Retrieve path of page template in current or parent template. |
get_page_templates() | Get the Page Templates available in this theme |
get_post_class() | Retrieves the classes for the post div as an array. |
get_query_template() | Retrieve path to a template |
get_stylesheet() | Retrieve the name of the current theme directory. |
get_template() | Retrieve name of the current theme. |
get_theme_mod() | Retrieve theme modification value for the current theme. |
get_theme_mods() | Retrieve all theme modifications. |
get_theme_root() | Retrieve path to themes directory. |
has_custom_logo() | Determines whether the site has a custom logo. |
has_header_image() | Check whether a header image is set or not. |
has_header_video() | Check whether a header video is set or not. |
header_image() | Displays header image URL. |
is_child_theme() | Whether a child theme is in use. |
is_header_video_active() | Checks whether the custom header video is eligible to show on the current page. |
post_class() | Display the classes for the post div. |
register_nav_menu() | Registers a navigation menu location for a theme. |
register_nav_menus() | Registers multiple custom navigation menus locations for a theme, to which the menus are then attached. |
register_theme_directory() | Register a directory that can contain themes. |
remove_theme_mod() | Remove theme modification name from current theme list. |
remove_theme_mods() | Remove theme modifications option for current theme. |
remove_theme_support() | Allows a theme to de-register its support of a certain feature |
search_theme_directories() | Search all registered theme directories for complete and valid themes. |
set_theme_mod() | Update theme modification value for the current theme. |
single_month_title() | Display or retrieve page title for post archive based on date. |
sticky_class() | Display "sticky" CSS class, if a post is sticky. |
the_custom_header_markup() | Print the markup for a custom header. |
the_custom_logo() | Displays a custom logo, linked to home. |
the_header_video_url() | Displays header video URL specified in theme Customizer (theme settings). |
the_search_query() | Displays the contents of the search query variable. |
unregister_nav_menu() | Unregisters a navigation menu location for a theme. |
wp_body_open() | Fire the wp_body_open action. |
wp_custom_css_cb() | Displays <style> tag containing CSS styles added in "Additional CSS" pane of the Theme Customizer. |
wp_footer() | Fires the wp_footer action. This is one of the most important hooks, many plugins will not work without it. It needs to be called in the theme footer, in footer.php file. |
wp_get_archives() | Display archive links based on type and format. |
wp_get_document_title() | Returns document title for the current page. |
wp_get_theme() | Gets a WP_Theme object for a theme. |
wp_get_themes() | Returns an array of WP_Theme objects based on the arguments. |
wp_head() | Fire the wp_head action. |
wp_is_mobile() | Test if the current browser runs on a mobile device (smart phone, tablet, etc.) |
wp_nav_menu() | Outputs an custom menu created in the admin-panel: |
wp_robots() | Displays the robots meta tag as necessary. |
wp_site_icon() | Display site icon meta tags. |
wp_title() | Display or retrieve page title. |