Pages (category)

get_all_page_ids()

Gets the ID of all permanent pages of type page.

get_page_by_path()

Gets the post by the specified path of this page: parent-page/sub-page. The result is cached.

get_page_children()

Identify descendants of a given page ID in a list of page objects.

get_page_link()

Gets the URL (link) of a permanent WordPress page (post type page).

get_page_template_slug()

Gets the specific template name for a given post.

get_page_uri()

Build the URI path for a page.

get_pages()

Retrieve pages data (or hierarchical post type data) as an array of posts objects. Caches the result in object cache.

get_post_ancestors()

Retrieve ancestors of a post.

page_template_dropdown()

Print out option HTML elements for the page templates drop-down.

parent_dropdown()

Print out option HTML elements for the page parents drop-down.

wp_dropdown_pages()

Outputs a dropdown list of static pages (list in the <select> tag).

wp_link_pages()

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

wp_list_pages()

Outputs a list of static pages as links.

wp_page_menu()

Outputs a list of static blog pages as links to the corresponding pages. An analogue of wp_list_pages(), but there is an option to add a "home" link at the beginning.