Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_link_pages()

3 tags 1 category

wp_link_pages() — The formatted output of a list of pages. Displays page links for paginated posts (i.e. including the <!–nextpage–> Quicktag one or more times). This tag must be within The Loop.

Inputs: $args (string|array): Optional. Array or string of default arguments. Field $before (string): HTML or text to prepend to each link. Default is <p> Pages:. Field $after (string): HTML or text to append to each link. Default is </p>. Field $link_before (string): HTML or text to prepend to each link, inside the <a> tag. Also prepended to the current item, which is not linked. Default empty. Field $link_after (string): HTML or text to append to each Pages link inside the <a> tag. Also appended to the current item, which is not linked. Default empty. Field $aria_current (string): The value for the aria-current attribute. Possible values are ‘page’, ‘step’, ‘location’, ‘date’, ‘time’, ‘true’, ‘false’. Default is ‘page’.

Returns string: Formatted output in HTML.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…