You would use get_pages
function or create custom query using WP_Query
class. The codex pages have detailed descriptions of parameters for both functions.
If this is a theme that you want to release for broader public you would probably want to create a theme options page where user sets the page that he wants to display. If it’s you custom theme where you know the ID of ‘About’ page then you can skip the theme options part and use the page ID in either get_pages
or WP_Query
method.
Related Posts:
- Change admin startpage to Pages-page?
- Add a static page that links to homepage
- Can I change the “Home” text in the menu?
- pagination does not work with query_posts. Help! [duplicate]
- Create pages automatically if they don’t exist
- Editing Complex Pages in Visual Mode
- Different fields in My Profile page depending on user role
- Is it possible to set a page template on a dynamic home page (articles list)?
- What’s the most minimal way in which a page can be hooked into WP?
- Associate Page with User
- Can’t change parent page
- Static files or dynamic WP pages for “static content”?
- CMS: Making complex pages editable by the end user
- Remove specific page/post from feed
- Redirect “Sorry, you are not allowed to access this page.” to Home
- How to display thumbnail and excerpt of a page on homepage?
- Custom /page/2/ template (different from index.php)
- Is it possible to have a landing page based on the visitors location?
- Custom page template not working
- Making a wordpress page the index on the site?
- How to change only the home page / front page url on wordpress
- is_home() returns TRUE on page template
- Site url is not showing the home page
- How can I get the homepage from the loop?
- Updated WordPress, now getting errors on site
- My custom template page not loading content inside it?
- How to detect if is_404() or is_page() or etc…? [closed]
- Redirect page to default subpage
- How can I use “getarchives_where” to get monthly archives for static pages?
- Create page template with some static contents
- Parent page shows no child content
- Displaying posts on homepage – Template Page
- creating single page with 2 columns while theme is 3 column
- Get rid of “comment” field on non-blog pages [duplicate]
- How do you set the default page in WordPress?
- Pages that don’t look like blog posts?
- After creating a new page, filling the page with structure
- Limit the amount of main pages
- On the list of Pages, clicking to Edit a particular page redirects to the list of trash
- Different template parts when on different pages
- URL redirect to home page issue in word press site
- How to change default home link title?
- Problem with deleting a “Page”
- Static Home Page resets to Front Page
- Why my home page doesnt work?
- How to detect if some page template has been selected
- How do I make just one of my pages a Blog Page?
- Want home page to click through to two different page types
- How to have more post in a page than in your home page
- How to remove title (home) from static page skeleton template
- Multiple WordPress Pages
- How to create an user defined page?
- Load new Posts on Scroll on Page
- How to have more post in a page than in your home page
- Default pages to be unpublished – possible?
- How to remove the trackback and pingback text on the bottom of my pages?
- How to set a default page for load first time?
- How do I create a page that displays the homepage?
- Create a plugin to create a new page in wordpress for each time a record is added into the database
- For some reason my posts are not showing up on my front page [closed]
- My pages are using my Index.php and not my page.php
- WordPress custom pages in a folder
- Adding LOAD MORE on a page
- My site does not load but downloads a file (wordpress)
- Use a custom page with dynamic content as a user profile page
- website is not loading home page (moving from one server to another server)
- Attaching a file to a page without adding to media library?
- When I enter password, I’m redirected to the WordPress login form
- How to delete the scrollbar in my pages?
- How to make a page as default page for a theme without a plugin?
- Change page width in refined magazine/mag and news theme
- How do you run code on a specific page without missing the init hook?
- I want to embed mystream video in my wordpress site
- Create page template
- How to show only homepage in google results instead of privacy, contact pages
- Every change made by “Author” role is going to “pending review”
- Stop playing music (rev slider) when user opens new tab
- Groping Pages Per Department Option
- what does the symbol “?” mean and how can i edit that page?
- Swap home page based on user role, Elementor layout breaking
- Requiring a Visitor to Enter a Password Each Time They visit a Page
- How do I add a new item to this menu on the Add New Page section?
- Include parent page in list of child pages
- Show children connected to parent pages
- How to get an array of pages ID by some page’s slug and all its children pages in get_posts() function?
- how to change permalink for dynamic page without 404 error
- Restrict specific private page to a specific user
- Updating page template pragmatically
- Page and admin doesnt load – i tried everything
- Include Recent Post in Category
- if is_page() is not working with wp_redirect
- How to remove a page in its entirety
- New to WP: links on static homepage are not working
- Taxonomy template is not reading
- How to transfer a site to hosting?
- Create many pages with dynamic content based on 1 template
- New Page/Post Screen Opens an Existing Post
- Display latest comments (global) with replies on a page
- Static Page, need Last and Next links at the bottom
- Return true if parent page id matches