WordPress Custom Page Template Development

Developing WordPress Custom Page Template is similar to develop a default wordpress page template. You just need to add a line code inside the comment section.

To Develop WordPress Custom Page Template follow this:

1. Create a new empty php file and name it whatever you want,

2. Add this below code inside the newly created php file,

<?php
/*
Template Name: Sidebar Template
*/
?>

3. Save and upload this file,

4. Go to WordPress Pages => Add new,

5. In template section you will see the newly created wordpress custom page in drop down menu.

Wordpress custom page template
  • Facebook
  • Twitter
  • Google+
  • Digg
  • Pinterest
  • LinkedIn
  • Blogger
  • StumbleUpon

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
54 ⁄ 27 =