Posts, Pages, ... (category)

body_class()

Displays the class names describing the current page. Intended for use in the <body> element.

get_post_format()

Gets the format of the current or specified post: quote, video, audio.

get_post_time()

Gets the publication time of the post in the specified format (default is unix timestamp). Used inside the WordPress loop.

get_the_date()

Gets the creation date of the current post. you can specify an arbitrary date output format. Used in a WordPress loop.

has_post_parent()

Checks if there is a parent post for the specified or current post in the loop.

have_posts()

Checks if global $wp_query has posts to process. Conditional tag.

in_the_loop()

Determines whether the caller is in The Loop (i.e. whether the loop is currently active). A conditional tag that is used to execute code only inside The Loop.

next_image_link()

Displays a link to the next image attached to the post.

next_post_link()

Displays a link (tag A) to the next post relative (by date) to the current post from the specified taxonomy (the default is category).

next_posts_link()

Outputs a link to the next list of posts (for example, the next posts in the category). Navigation within the category.

post_class()

Outputs CSS classes characterizing the post. It is used to simplify the layout of the template.

post_password_required()

Checks if the post is password protected or not. Also checks the correctness of the password if a password is set for the post.

posts_nav_link()

Outputs navigation for post pages — links to the previous and next archive page, if they exist.

previous_image_link()

Outputs a link to the previous image attached to the post. Returns the HTML code of the link.

previous_post_link()

Displays a link to the previous (by date) post from the specified taxonomy (the default is category).

previous_posts_link()

Outputs a link to the list of posts (pagination page). The link points to newer posts compared to the current ones. Navigation within the category.

single_month_title()

Outputs or retrieves the title of the monthly archive page of posts.

single_post_title()

Displays or retrieve page title for post. Designed for use on individual post pages.

sticky_class()

Outputs the CSS class "sticky" for the post if it is marked as a sticky post.

the_category()

Displays links to the categories to which the post belongs in either HTML list or custom format.

the_content()

Display the post content. It is template tag and must be used inside the loop.

the_date()

Displays or Retrieve the date of the current post was written. Works with a group of posts (published on the same day).

the_excerpt()

Displays the excerpt (quote) of the post, with [...] at the end (but this is not a link to reading the full material).

the_excerpt_rss()

Displays a brief description of the post (quote) or the first 55 words of the content. Used within the WordPress Loop.

the_ID()

Display the ID of the current post in the WordPress Loop.

the_meta()

Outputs custom fields of a post (metadata from wp_postmeta). The fields are displayed in a list <li>. Hidden fields are ignored.

the_modified_author()

Outputs the author who last edited the post.

the_modified_date()

Outputs the time (date) when the post was modified.

the_post()

Sets the next post to the global $post variable. Also sets all post data with setup_postdata().

the_post_navigation()

Displays the HTML block of links to the next and previous posts. Uses on a single post page: is_singular().

the_search_query()

Outputs the current search query. Used on the search results output page (search.php).

the_shortlink()

Outputs a short link to the current post, for example: /?p=1234.

the_tags()

Retrieve the tags links for a post.

the_time()

Display the time (date) at which the post was written in the specified format.

the_title()

Display the current post title with optional HTML markup. It is accepted to use inside the WordPress Loop.

the_title_attribute()

Displays the title of the post prepared (sanitized) for use in the HTML attributes of HTML tag.

wp_get_shortlink()

Returns a short link to a post.

wp_link_pages()

Outputs navigation links for paginated posts (the separator used is <!--nextpage-->, one or more times in the content).