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
- How are both HTTP and HTTPS versions displaying?
- How do you split multiple-column loop on category archive page?
- How to Loop within a Loop (Display Children and then Grandchildren)
- Add attribute to shortcode dynamically
- Get titles of all posts with current tags except current post
- Creating a multi-taxonomy query, excluding the newest (read: highest ID) taxonomy term
- Show a different post every 3 days [duplicate]
- What is the maximum number of posts a WordPress loop can work with?
- Orderby is working with one query but not with other
- WordPress Rewriting the DOM?
- Modified loop-single-forum.php to work inside of a sidebar Widget, not working on some site pages
- Basic multiple loops only displaying first loop
- Both a page loop and posts loop on the same page
- Stepping through a foreach loop – adding +1 to the end of it so next time it loops it starts on item 2
- Is it possible to reverse the order of a list of posts pulled from a loop?
- Put multiple custom loops on same page
- Contact information footer
- custom post on homepage
- Multisite foreach loop returning only one result
- Loop is crazy – one row displays wrong count of posts [closed]
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- Using has_tag() outside loop
- How to create multiple loop in archive page?
- Offset for Loop
- Why does my WP_Query pagination on a custom page.php only loads the homepage?
- Query users and count totals based on meta values
- php loop error for count posts in category
- display post pdf attachments in side bar with link text
- % encoded URL giving 404 error in WordPress
- CPT: multiple loops with different terms
- Use the loop to check if DB record exists?
- Adding comma to while loop wpquery output
- permalink of word press in htacess
- Search – Check if post is a page on search page
- How can I make this iterative conditional within the Loop work via function?
- Ajax loop and history.js for SEO
- to get a little more content after ‘read more’ inside loop
- Show all child categories associated to post ID within loop
- Check if excerpt is empty at loop-portfolio
- Running the Loop outside of WordPress
- how to use custom loop in the_content filter
- custom rearranged menu with excerpt for selected children in sidebar.php
- Turn post into simple slideshow
- Twitter bootstrap carousel multiple items in carousel
- Using pagination with multiple loops causes it to break
- Change loop to display items in order
- Loop doesn’t give the thumbnail the right parent (or class)
- Use callback function in AJAX pure javascript [closed]