Navigation (category)

get_adjacent_post()

Gets the object of the adjacent (next or previous) post from the specified taxonomy (the default is category).

get_adjacent_post_link()

Gets the adjacent (next/previous) post link (HTML tag A) from the specified taxonomy (the default is category).

get_boundary_post()

Retrieves the first or last post of the site (by publish date).

get_next_post()

Retrieves the next post (as object) from the specified taxonomy (the default is category).

get_next_post_link()

Gets a link (tag A) to the next post relative (by date) to the current post.

get_previous_post()

Retrieves the previous post (as object) from the specified taxonomy (the default is category).

get_previous_post_link()

Gets a link (tag A) to the previous post relative (by date) to the current post.

get_the_post_navigation()

Gets the navigation links (HTML) to the next and previous posts. Uses on a single post page: is_singular().

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

previous_post_link()

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

the_post_navigation()

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