You can use get_post_field()
for getting the post fields i.e. Title, Content etc.
// Replace $post_id with the ID of your post/page
<?php
get_post_field( post_title, $post_id);
get_post_field( post_content, $post_id);
?>
Related Posts:
- Add infinite scroll to content splitted post
- Get the content of a specific page (by ID)
- How can I keep the content of my pages version controlled?
- What methods to use to create small, editable pieces of text for static pages?
- Editing Complex Pages in Visual Mode
- Multiple areas of dynamic content in a page
- Static files or dynamic WP pages for “static content”?
- The entire content of my WordPress page has disappeared
- What is the proper way to get contents of a page?
- Get the Page Content,without generating HTML
- Page displays content from different query?
- Having wordpress page accesss issue under sub-directory
- How to make my category archive behave like a page
- The concept of non-blog content
- If I use a static page-slug.php for a page, is the database still queried?
- How To Render Shortcode In AJAX Response?
- Two different pages that share the same content?
- upgrade has caused page content to disappear
- Add the same content to multiple pages
- Cannot pull WYSIWYG content
- Editing pages from dashboard
- What’s the best way to manage sections on a page?
- include exception inside theme for empty widget area
- How to get sort content by page id?
- Add text to the bottom of particular pages
- Retrieve page content and pass to PHP?
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- What is the difference between $paged and $page?
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Change admin startpage to Pages-page?
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- How do I turn comments off for pages, but not posts?
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- Redirect to a page if ancestors is empty
- Get Order of Meta Box in a Page/Post
- Check to see if page exists problems
- Modify Page Title before output via wp_page_list
- Custom /page/2/ template (different from index.php)
- Form action redirect to the same page
- How do I create a separate page for each author?
- Front Page not showing on Pages
- WordPress pages with hierarchy
- How to incorporate Documentation into wordpress?
- Use lots of pages, or categories/posts?
- How to have custom tinyMCE buttons break onto next line when too long
- Get all pages that are published
- Add a predefined page to site
- creating and styling a within a page
- What are trackbacks?
- How to enumerate a list of posts?
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How to show the root webpage on all subpaths
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove Content edit box from ALL pages (not posts)
- What is full URL for a post?
- How do I do a page break?
- Edit Parent page drop menu when creating a page
- Get parent of current page
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Remove comment section from new page
- Exclude pages by menu order
- How to exclude authors from get_pages()
- Do I have to widgetize my pages?
- Page Title repeating
- Password Protect Pages Not Working
- Can I connect a page to a taxonomy?
- wp_nav_menu: output featured image of each page listing
- Change displayed “page name” to distinguish multiple pages with the same title
- add title to widgets of wordpress
- How to transfer a site to hosting?
- How can a .css file be applied to a virtual page?
- WordPress blog posts template bug [closed]
- Checkboxes to automatically create pages when I activate a theme
- Share a folder with files
- Front Page post mirroring revisions to other pages, constantly updating itself
- Microsoft Security Essentials is blocking my WordPress website in IE11
- Cannot use old slug – it just 301s to site home page
- Display inner pages like posts.[Like how post excerpt works]
- How to display time when page is created and edited
- Access wordpress pages using a self signed shared ssl
- Page loads all pages of the image gallery with pagination
- Group Pages based on Parent in Admin Area
- How to exclude page in pages module
- get id custom tables on current page
- static page with buton that opens collect email form
- pagination does not work with query_posts. Help! [duplicate]
- Subpage Conditional
- Multiple WordPress Pages
- How to create an user defined page?
- I have over 3000 child pages – but I need a different main page
- How to enable automatic search results in WordPress
- How to make a conditional statement that checks if the page is the child of a certain page?
- Is it possible to keep the page title from actually appearing at the top of the page?
- Missing page on wordpress “Pages” dashboard [closed]