$query = new WP_Query( 'post_type=page' );
as seen at codex http://codex.wordpress.org/Class_Reference/WP_Query#Type_.26_Status_Parameters
Related Posts:
- Proper way to get page content
- Get wp_get_attachment_url outside of loop
- WordPress parent select need to be removed
- How to get the list of posts in a static page other than front page?
- How to echo excerpts with wp_list_pages?
- Loop after page content
- Page displays content from different query?
- How to retrieve attachments from child pages of a specific Page?
- Dynamic Landing Page
- Custom page with queries returns 404
- Query specific Pages
- Query pages based on tags
- Show content if page is a grandchild of top level page
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- Static Website No Titles But Still Nav
- Filter posts by author selected in page
- How to get current page ID outside the loop?
- Pagination not working with custom loop
- Should we trust the post globals?
- Get the content of a specific page (by ID)
- Show Default Editor on Blog Page ( Administration Panel )
- Create pages automatically if they don’t exist
- Using the Loop to show all levels of subpages under a parent page? Halfway there
- WP Page and Subdirectory with same name
- How to redirect on particular page in wordpress? [closed]
- Is `query_posts` really slower than secondary query?
- Are there any scenarios where the query_posts may be used?
- Display subpages under parent page as a list within a loop
- Restrict acceess of a page in backend
- Looping through posts per category gives same posts for each category
- WordPress twenty eleven sidebar on Pages
- Debugging shortcode problems
- How to show updated edit on preview URL without clicking preview button
- The entire content of my WordPress page has disappeared
- How to redirect a page to subdomain?
- How can I split long posts into pages?
- Slug is redirecting to 404
- Include content from one page to another
- Can I include Javascript/jQuery in a page?
- conditional tags- how to use with shortcodes
- Query last updated posts (posts updated in the last 24 hours)
- List all private pages user has access rights to read
- “next page” of parent in infinite loop
- Access the same page from multiple urls (wildcard)
- How to update the counter of private pages in the dashboard?
- Using in-build Visual Composer param types in custom param types
- Google Analytics tracking code on just one page?
- Layout Builder.
- Edit custom HTML page from WP admin dashboard
- get_pages() as per custom menu order
- How to use is_admin in page content?
- Multiple Loops Breaking Pages
- Why isn’t WordPress respecting my HTML?
- From a developer’s point of view what are the differences between pages and posts? [closed]
- Edit page shown after login in WordPress?
- invalid argument in foreach when trying to list custom post types in archive.php
- Issue with custom loop in Archive page
- WordPress page not taking precedence over server directory
- Displaying direct children of other pages on homepage
- List all anchor links on a page
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- How to bypass 404 for certain pages/posts?
- Custom folder for wordpress page templates
- way to make all pages with certain tags public?
- Page not appearing under its Parent
- Can I use Pages like a Wiki
- list child-pages as normal pages?
- return page name in url
- Create multiple pages with tables from json file
- Search anything from a Child and Sub-Pages of their Parent page
- Can i use 2 page content-forum & content-forum-slug on bbpress?
- Attaching a file to a page without adding to media library?
- Shortcode with loop stacks output
- Change page width in refined magazine/mag and news theme
- How do you run code on a specific page without missing the init hook?
- Requiring a Visitor to Enter a Password Each Time They visit a Page
- if is_page() is not working with wp_redirect
- Custom Query with Sticky Posts
- Display meta data attribute in user profile
- Assign Parent Page – Now 404 Error
- WordPress displays widgets out of whack
- is it bad to copy the loop for a template?
- WordPress form submit to custom page template does not work
- My page title turns into a h2 tag – What to do?
- How do I locate a third party page represented as a slug in my WordPress website?
- Customise the_title in admin area
- Add pagination to search.php page
- problem with loading pages
- Content not displaying on page
- Blank white space where header was [closed]
- Set order acs and no paging for archive page
- Pageview all of sudden not working
- Childpage title + content on Parent Page
- Display the latest post from some selected authors
- Default Template infinite loop of Title
- Pagination not working with custom loop
- Temporary download page or restrict static download page based on how the user got to the page?
- List Parent page with sub pages
- wordpress user profile page
- WordPress is picking up links that don’t exist