WordPress at a glance

Pages (рубрика)

get_all_page_ids()

Get a list of page IDs.

get_page_by_path()

Retrieves a page given its path.

get_page_children()

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

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 a list of pages (or hierarchical post type items) as an array of posts objects. Analog of get_posts().

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

Retrieve or display list of pages as a dropdown (select list).

wp_link_pages()

The formatted output of a list of pages.

wp_list_pages()

Retrieve or display list of pages (or hierarchical post type items) in list (li) format.

wp_page_menu()

Displays or retrieves a list of pages with an optional home link.