Go to “Pages” and find the page with the ID. Open it in editor. On the right hand side, look for “page attributes”. You can add php files here. All you have to do is, create a PHP page under your theme, and add this to your beginning of the file:
<?php
/*
Template Name: A PAGE NAME HERE
*/
Reload, and your file shows up with the A PAGE NAME HERE
within the select box.
Related Posts:
- Split Content and Gallery
- How to return loop contents
- Loop.php vs looping inside template file
- How do I get the attributes of a short code from a post?
- How do I prevent one of two multiple loops from repeating on a second page?
- Return vs Echo Shortcode
- Show newly added posts since last user login time /date
- as a shortcode within the loop?
- Get link of inserted media file of post within loop
- How do I override part of the main loop in my child theme?
- Problem the_permalink
- Redirect Loop to Page, Can’t Find Origin, Can’t Remove [closed]
- Adding shortcode closing tag after a loop
- What are the disadvantages of using global variable?
- Recent posts on a static home page
- Displaying terms based on loop posts?
- Missing image in gallery shortcode in custom feed
- Shortcode with a foreach and arguments
- Output loop leveraged shortcode twice on one page
- show random image in loop if image is not set
- Custom Loop Using Shortcode in Custom Page Template
- Shortcode in posts called by ajax is not working
- Page-loop is looping content from custom loops on the same site. How to avoid that?
- Split wordpress loop to multiple layouts
- How do I automate multiple category loops?
- Trying to get property of non-object in shortocde
- Getting posts link in WordPress
- get_delete_post_link() inside Loop stubbornly returns nothing
- WordPress shortcode in content, output in sidebar?
- Query posts only with actual text content (not including shortcode or images)
- Integrating WordPress with Your Website
- Can’t get the previous and next posts permalink
- How to put a block of code between [shortcode][/shortcode] in do_shortcode()?
- Pagination for two loops
- List page is showing 404
- How can I pass additional params to a shortcode while in a loop?
- Get a Post Loop based on Logged in User information into a Shortcode
- How to add pagination in Terms
- Duplicated tag in loop
- Split Content and Gallery
- Shortcode for pulling specific Post Title outside loop when ID is passed in
- How do I aproach this?(for sale, for lease, sold->move something from a category to another)
- Display single post inside accordion based on form submission results
- Have multiple loops on a page appear after/between page content
- Using shortcode within shortcode with dynamic variable
- trying to write a variable into a wp_query, need help!
- display only parent replies count in index.php
- Change the way wordpress outputs images or image galleries
- Displaying posts limit: can’t get pagination to display [duplicate]
- Custom Page Template and Category Exclusion
- WordPress loop put title into variable
- Limitless amount of posts in custom archive page
- Ajax Button to load more Posts into a timeline
- Sanitize Custom Field Value in Meta Query
- How could I change my Permalink from blog to custom structure? [closed]
- Default ‘post’ post type archive slug?
- How to target thumbnails of the first post in the loop
- How do I style the first two posts of a loop
- Get Page content to displayin Bootstrap Modal
- WordPress Rewriting the DOM?
- Replace shortcode in substring
- How to get list of posts from permalinks?
- How can I paginate this?
- Obtain page data and use regular loop
- How to display posts by vote count and if no value continue with latest posts with no votes?
- How to rewrite the post URL according to the category?
- How can I load posts starting from, and including, the current post?
- Genesis multiple category custom loop 404s after first page
- Do I need to use The Loop on pages?
- Sort results by groups of numbers and letters
- Listing subpages title and content and styling the first iteration differently
- Infinite Scroll on a loop?
- Conditionally Loading JavaScript/CSS for Shortcodes
- How to fix pagination for custom loops?
- Modify the main loop to display current month / year
- Show all posts using the template page and the loop?
- Rewriting single post url; add_rewrite_rule problem?
- Showing sticky posts with get_posts()
- Pagination – works on local but not live dev!
- On single.php, fetch 2 posts created after and 2 posts created before in relation to the actual post (using menu_order)
- query_posts() vs get_posts() multiple loops [duplicate]
- Advanced author permalinks
- need help looping add_action in wp
- Problem getting current post tags to show in a widget
- Modified loop-single-forum.php to work inside of a sidebar Widget, not working on some site pages
- How to get the role id from the role name?
- Does WordPress Loop have a function like Shopify’s cycle?
- How do I paginate a get_posts() request inside another page loop (Paginating childpages)
- Basic multiple loops only displaying first loop
- How to show only blog-domain instead of the whole permalink in the loop
- WordPress Custom File Permalink
- WordPress 3.1 .htaccess contents keep dissappearing?
- Using Javascript for Looped Content
- How do I apply style to each category of a list?
- Latest Post Styled Different Than other Posts
- Display post list with different styles
- ‘Auto Draft’ Post showing in wordpress loop
- How do I display an image before the first post of the loop when I’m using get_template_part?
- ACF custom field in [closed]
- How can I create a permalink with two categories, with the order based on the parent category?