First off: The ID of a post or page is always an integer. “about” is either your about page’s title, slug or both.
Including the following in your “homepage’s” page template or in the sidebar combined with conditional tag(s) will display the about page’s content:
<?php
// query for the about page
$your_query = new WP_Query( 'pagename=about' );
// "loop" through query (even though it's just one page)
while ( $your_query->have_posts() ) : $your_query->the_post();
the_content();
endwhile;
// reset post data (important!)
wp_reset_postdata();
?>
Edit: The above works, IFF your page’s slug is indeed “about”, otherwise adjust accordingly.
Related Posts:
- Why content_arr[‘extended’] removes paragraph tags?
- the_content() Not Grabbing All Content
- Stop WordPress Wrapping Images In A “P” Tag
- Strategy for handling hierarchical pages with empty parent content
- Testing for post title in ‘if/else’ statement returns no content
- Add Word Limit to Posts
- How do I do a page break?
- Preview page/post revisions without overwriting current content
- Adding if statement into the_content()
- why my urdu text is not aligned properly when written in wordpress blog post?
- How do I set content in my pages so that it remains permanent while blog posts are added below?
- Get part of a page url
- Stripping tag from elements in post
- Automatically search and replace link in content (pages/posts)?
- how to limit edit_form_after_title hook to page and post edit only?
- Why do I need to use The Loop on pages (inside page.php etc)?
- Create custom page in WooCommerce
- Automatically create pages in a post based on number of words
- Divide Post content into separate divs for every 500 characters (or any other character counts)
- Static posts page with home.php
- Change WordPress post-state in Admin Area
- Post content being duplicated by the_content();
- Programmatically inserting page breaks
- how to show all post in my page-grid.php template page
- eBooks download website, page or post?
- How can I extract the URL of a link from a post?
- Can I hide a specific post from latest posts page?
- Hide add new page button
- How to show post(excerpt) from specific category on wp page?
- Same content shared between multiple posts?
- How To Keep Posts from Being Displayed Two or More Times on My Homepage? [closed]
- custom post type grid with content in lightbox [closed]
- What is the proper way to get contents of a page?
- Custom Blog Post Page
- Get the Page Content,without generating HTML
- post-page: reference to parent page?
- Dashboard :10 Last draft page and 10 last pending review page (metabox)
- Can I divide the pages into categories?
- How do I get blog posts to appear within CMS?
- Drag posts and pages so you can sort them in order
- Integrate OpenStreetMap on WordPress
- What’s the best way to render Visual Composer in posts, not pages?
- How to show full post?
- Overwrite posts/pages via import
- Auto-realod with new posts // Ajax call
- How to create new post content templates for my users?
- Start post pagination at 0 instead of 1
- Using wp_list_pages() after calling query_posts()
- Display Posts on Custom Page
- How to get a post’s content? [closed]
- Multiple Loops Breaking Pages
- Why does a published post only displays the title and not the content in the site? [closed]
- Proper way of establishing custom landing pages in WordPress
- Admin – no Featured image choice in create new/page|post
- The_excerpt() doesn’t parse – how to change that?
- Why won’t pagination work?
- How to add some html formated text to every new post in WordPress
- Output Post with ACF Fields into other Post
- Posts and Pages: 404 Page not found
- Add div before the first paragraph the_content [closed]
- List all posts, pages and custom post types in admin
- Are post, page and category IDs unique to each other?
- Setting limit to posts or page creation
- Create a frontpage.php and static page template
- post/page content
- WordPress Architecture as a CMS – Posts & Pages
- How to show next/prev link, when it’s not active?
- Prevent 404 of Author pages without posts
- Cannot publish posts, but can create new pages
- Making a new post visible on a specific page
- Can I restore restore content from old Worpress site to a new Worpress site from an archive
- How Do I Redirect WordPress Pages but not posts?
- Custom Fields – How to get the list of a specific active widget each time it rendered
- How to show only homepage in google results instead of privacy, contact pages
- Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set
- Nestling Posts Under Page & Justify Text
- Show post count in custom taxonomy page
- How to show WP admin edit page within template page/post?
- Display all tags even if they are not assigned to a post
- Very weird behaviour after removing WP pages
- Category URL to use same string as Post URL Permalink
- Posts on Sidebar only
- Hide Admin posts & pages in Dashboard
- structure of posts and pages
- How to get post_content while the post is being edited
- Call posts of particular category in a page
- Add wp-link-pages to post
- How to arrange different post categories in template
- Make Show Notes for Individual Podcast Episodes Easy to Find (multiple URL’s?)
- Retrieve page content and pass to PHP?
- Displaying only posts from a certain category on my custom page template
- How to Post to Specific Pages?
- associate posts to a page
- Assign custom class to post content images
- Woocommerce – custom post type of checkout page
- How to have more post in a page than in your home page
- Custom post page has attributes of latest post [closed]
- After the local installation of an old WP website I can see the homepage but I can’t access to the articles, why?
- How to have 2 posting pages on a blog
- How can I use wp_after_insert_post with $current_screen?