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]
- Custom SQL Query for WordPress page
- How restrict page for users logged? [closed]
- Only allow new subpages to be created
- Hide Visibility Option From WordPress Publish Metabox
- Custom protected password page with ACF
- How to make nested page structure?
- Replace existing pages with new pages, keep menu links
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- How to add meta boxes to Pages
- Hiding Page by Title from Editing
- Two Search pages, One search form
- Why doesnt ONE of my links in the footer work properly? [closed]
- How do i change page template in bulk?
- Determine page content based on page parent
- Could be a namespace conflict (?) with login form and register form on the same page
- The concept of non-blog content
- Loading Multiple Comments Pages via Ajax?
- Change base URL of pages created by certain users
- How to list a page tree?
- How to create a page and display only the posts with a specific custom field value?
- WordPress pages not working out correctly with HTML
- Manage content on multiple pages synchronysly?
- Need Help with Custom ModRewrite
- Website jumps to top when scrolling down
- How to fix broken URL – https://mywebsite.com/comments/feed/
- Revert a Draft page to its original version
- How can I create a Custom Page? (not a page template!!)
- My edits are not saved
- When would it be best to hook AJAX functions on a back-end page?
- Detecting if I’m on a single, non-post, non-homepage page?
- My AJAX requests take 30 seconds to complete
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Allow arbitrary text after page URL
- Specify parent page template
- How to make page navigation just below the content?
- WP-navi plugin and post sorted alphabetically
- Static front page displaying twice
- Edit the text location of a form
- I reached halfway through a WordPress tutorial to find out I began wrong for a new comer to WP