1 / 8

Create a Custom Page Template in WordPress

<br><br>Easy guide about creating a custom page template in WordPress, you can change anything yourself.<br>

Marvenniffi
Download Presentation

Create a Custom Page Template in WordPress

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How To Create Custom Page Template How To Create Custom Page Template in WordPress in WordPress Several WordPress themes doesn’t allow you to edit some pages of the template for custom entries, for this, We always look for custom solution or try to perform it ourselves. Here, I have listed step by step guide about creating custom page template in WordPress. Using Text Editor WordPress Admin Panel Blank Page Theme Code Installation Applying Custom Code On Twenty Sixteen Theme

  2. Use Of Custom Page Template Use Of Custom Page Template • We can use custom page template for multiple purposes that include: • Show recent posts of each category • Embed Google Map or any script • List of all authors. • Recently uploaded images • Custom design page for the portfolio • Contact page

  3. Open a Text Editor and Place The Following Open a Text Editor and Place The Following Code in it. Code in it. 1 <?php /* Template Name: PageWithoutSidebar */?> This line of code will help you to find the name of your template as we have used a name “PageWithoutSidebar”, you can use any name yourself but always put .php extension in it, never forget of adding it.

  4. Now Login To Your Hosting Panel Now Login To Your Hosting Panel Once you are logged in to your hosting cpanel, now you need to navigate to /wp-content/themes folder. Now, Open your current theme folder upload there PageWithoutSidebar.php file

  5. Here’s the Screenshot Here’s the Screenshot

  6. Now Go To WordPress Admin Panel Now Go To WordPress Admin Panel Go to WordPress Admin Panel > Pages > Add New. You will see the new custom page template shown on the right side of the page.

  7. Create New Page and Set Its Template to Create New Page and Set Its Template to PageWithoutSidebar PageWithoutSidebar. Once you are done, Publish it. . Once you are done, Publish it.

  8. For More Information You Can Check Original For More Information You Can Check Original Publication Publication • Source: https://www.cloudways.com/blog/creating-custom-page- template-in-wordpress/ • To Create Custom Page Template in WordPress you can visit Now. • For Best Managed WordPress Hosting, You Can Go With Cloudways.

More Related