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() | Collects child pages from the provided array of pages. All levels of nesting are processed. |
| get_page_link() | Gets the URL (link) of a permanent WordPress page (post type page). |
| get_page_template_slug() | Gets the name of the PHP file that is set as the template for the specified post. |
| get_page_uri() | Gets the path (URL without the domain) to the specified permanent page. It collects the slugs of the current and all parent pages and combines them with a slash |
| 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() | Gets the IDs of all parent posts for the specified one as an array. |
| page_template_dropdown() | Gets the template files for the specified post type and outputs them on the screen as <option> elements for the form select field. |
| parent_dropdown() | Gets a list of child pages of the specified parent page. Outputs an HTML list of <option> elements for the <select> element. |
| 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 |
| 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. |