Main Functions (category)
bloginfo() | Displays information about the current site. |
calendar_week_mod() | Get number of days since the start of the week. |
get_archives_link() | Retrieve archive link content based on predefined or custom code. |
get_bloginfo() | Retrieves information about the current site. |
get_calendar() | Display calendar with days that have posts as links. |
get_current_blog_id() | Retrieve the current site (blog) ID. |
get_footer() | Includes the footer.php template file from your current theme's directory. If a $name is specified then footer-{name}.php file will be included. |
get_header() | Includes the header.php template file from your current theme's directory. If a $name is specified then header-{name}.php file will be included. |
get_search_form() | Display search form. |
get_sidebar() | Includes the sidebar.php template file from your current theme's directory. If a $name is specified then sidebar-{name}.php will be included. |
get_template_part() | Searches for and connects the specified theme file (first check the file in the child theme, if there is one). |
is_404() | Checks whether the 404 error page is displayed (HTTP 404: page not found). Conditional tag. |
is_active_sidebar() | Whether a sidebar is in use. |
is_admin() | Whether the current request is for an administrative interface page. |
is_archive() | Conditional tag. Return true when any of the archive pages are shown (Year, Category, Author, Post Type archive...). |
is_attachment() | Is the query for an existing attachment page? |
is_author() | Is the query for an existing author archive page? |
is_category() | Conditional tag. Checks whether the category page is displayed or not. |
is_comment_feed() | Is the query for a comments feed? |
is_date() | Determines whether the date archive page is displayed. Conditional tag. |
is_day() | Determines whether a day archive page is shown (example.com/2009/08/05) — page with posts for a specific day. A conditional tag. |
is_dynamic_sidebar() | Whether the dynamic sidebar is enabled and used by theme. |
is_embed() | Is the query for an embedded post? |
is_feed() | Is the query for a feed? |
is_front_page() | Checks whether the main (home) page of the site is displayed. Conditional tag. |
is_home() | The conditional tag that checks if the page with the last posts is displayed, usually it is the main page of the site or the blog homepage. |
is_month() | Determines whether a monthly archive page is shown (example.com/2009/08) — page with posts for a specific month. A conditional tag. |
is_page_template() | Whether currently in a page template. |
is_paged() | Checks whether the pagination page is displayed (page type /page/2, /page/3). Conditional tag. |
is_post_type_archive() | Checks if current user is on the archive page of custom post type. |
is_preview() | Is the query for a post or page preview? |
is_search() | Works when the search results page is displayed. Conditional tag. |
is_single() | Checks whether a post page (of any post type) is displayed. Posts with |
is_singular() | Checks whether the post page is viewed (post, page, attachment, any post type). Conditional Tag. |
is_ssl() | Checks whether secure HTTPS (SSL) connection is used. A conditional tag. |
is_sticky() | Checks if the current post is attached to the top of the home page posts query. Conditional tag. |
is_tag() | Is the query for an existing tag archive page? |
is_tax() | Works on the custom taxonomy archive page. Conditional tag. |
is_year() | Determines whether a year archive page is shown (example.com/2009) — page with posts for a specific year. A conditional tag. |
language_attributes() | Displays the language attributes for the 'html' tag. |
post_type_archive_title() | Display or retrieve title for a post type archive. |
register_sidebar() | Builds the definition for a single sidebar and returns the ID. |
setup_postdata() | Sets up all urgent data of the post (except global $post variable). |
the_archive_description() | Display the description of the post type, category, tag, term, or author archive page. |
the_archive_title() | Display the archive page title, based on the type of page (tag, term, category, date). |
wp_enqueue_script() | Adds a script (JavaScript file) to the page. |
wp_enqueue_style() | Adds a CSS stylesheet file to the page. Also registers the stylesheet file if it wasn't registered. |
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_head() | Fire the wp_head action. |
wp_login_form() | Provides a simple login form for use anywhere within WordPress. |
wp_login_url() | Retrieves the login URL. |
wp_loginout() | Display the Log In/Out link. |
wp_logout_url() | Retrieves the logout URL. Returns the URL that allows the authorized user to log out of the site. |
wp_lostpassword_url() | Returns the URL that allows the user to retrieve the lost password |
wp_register() | Displays either the link to the dashboard ("Site Admin") if the user is logged in or "Register" link if the user is not logged in. |
wp_title() | Display or retrieve page title. |