First of all, you need to select the new template as your page’s template while creating a new page. To do this, choose the new template under “Page Attributes” setting just like below screenshot:
Now, you should make sure you are outputting the content in your page. Create a simple loop, and use the_content()
within:
while( have_posts() ) {
the_post();
the_content();
}
Now your content will be displayed in your new page template.
PS: Image credits goes to WP Beginners
Related Posts:
- Get the content of a specific page (by ID)
- How to give paged links custom title?
- Show Default Editor on Blog Page ( Administration Panel )
- Create pages automatically if they don’t exist
- Can I display submenus in groups, using wp_list_pages?
- How to redirect on particular page in wordpress? [closed]
- Can I display the widget admin in the page admin?
- Internal Links to Pages in PHP?
- Restrict acceess of a page in backend
- Modify theme to get page excerpts on front page
- WordPress twenty eleven sidebar on Pages
- Debugging shortcode problems
- How to show updated edit on preview URL without clicking preview button
- How to make certain page templates visible to admin only
- Editing Pages that Have Already Been Published
- The entire content of my WordPress page has disappeared
- What is the proper way to get contents of a page?
- Getting child content
- Slug is redirecting to 404
- Include content from one page to another
- Can I include Javascript/jQuery in a page?
- Adminbar Missing “Edit Page”
- conditional tags- how to use with shortcodes
- List all private pages user has access rights to read
- Access the same page from multiple urls (wildcard)
- How to update the counter of private pages in the dashboard?
- Any Ideas for Including “More Tag” with get_pages($args)?
- Using in-build Visual Composer param types in custom param types
- Google Analytics tracking code on just one page?
- Edit custom HTML page from WP admin dashboard
- get_pages() as per custom menu order
- Display child pages in sidebar of parent page in wordpress
- Get the Current Page Slug-Name
- How to use is_admin in page content?
- Adding a Calculator to a WordPress Page
- List all posts with the parent or grandparent of a page with a specified ID
- Why isn’t WordPress respecting my HTML?
- From a developer’s point of view what are the differences between pages and posts? [closed]
- block a page from logged out users and redirect to homepage
- Edit page shown after login in WordPress?
- Disable ADD PDF media button on rich text editor
- Page titles for internal classification of landing pages
- Function to incorporate an option in each Page
- Displaying direct children of other pages on homepage
- How do I reference the front page’s parent Page object?
- How to bypass 404 for certain pages/posts?
- Displaying Current Page Number Conditionally
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- How do i pick the pages in 20-11 header?
- trying to add a author value in wp page links?
- page template – undefined structure in source code
- How to show page title with capitalization only as I typed in?
- Create custom page to author.php
- Make Audio Element Persistent Across 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?
- Restrict specific private page to a specific user
- How to remove a page in its entirety
- Display latest comments (global) with replies on a page
- Editing Pages Icons Are Not Showing Up – Why is this happening?
- How to add custom php file to right sidebar?
- Why my home page doesnt work?
- Mailchimp RSS feed work with single wordpress page?
- How to publish pages under a subdomain url?
- Cannot pull WYSIWYG content
- how to setup subdomains for pages?
- How to approach need for virtual page on my WP site?
- Creating content using wp-admin pages
- change page status with code
- Press This for Page
- Supress listing of virtual pages
- How to limit the pages shown in the page manager to those created by the logged in user?
- Is it better to set social media sharer in entry-footer.php or comments.php in WordPress blog?
- Get All Pages as strings in array
- Attach link to pages accoding to tags
- Search Page: activate html code if the tag is on the page
- How to end the Page Load Event and load after that?
- Issue with page not erasing
- My page won’t publish
- Pages redirecting to homepage
- How to migrate .HTML pages to WordPress
- Echo page path suffix only – not the title, path or permalink
- Why does the default Insert/edit link function in Visual mode in posts or pages produce full urls?
- Custom admin menu for a selection of pages
- how to print the content of pages inside the front end area
- How do I make just one of my pages a Blog Page?
- Standard way of creating profile pages with custom content for each user?
- How to show parent pages on a specific page if user is logged in?
- Create custom archive page for individual authors which is separate from the author.php page
- Showing certain page without redirection
- How to make in post Parent page children page list nummbered
- How To Display Pages Based On Subscriber Signup Date
- How to preview a page instead of a category?
- Display list of posts with x tag within a page?
- Custom wp_list_pages() function
- My homepage is gone but header is still there
- Add tags to long page that is broken up into subpages?
- I reached halfway through a WordPress tutorial to find out I began wrong for a new comer to WP
- Can’t create new pages in wordpress
- Custom template is not showing up in templates dropdown list after re-naming it