How To Create a Custom Page Template in WordPress

Prem Tiwari - - WordPress Beginners

If you are WordPress beginners then i would suggest to pay close attention in this post, as i am going to explain you How To Create a Custom Page Template in WordPress. This is very easy and simple steps to create your own custom page templates.

WordPress page templates are a specific type of file which you can create within your current theme’s folder that can be applied for a specific page OR groups of several pages.

Bellow are some of features of page templates :

1) Its are used to change the look and feel of a page or group of pages.
2) You have full control over page editing to what template will be render the contents.
3) You can be used for a single page, a page section.

Page Templates

Benefits of Page Templates

There are several benefits of using page templates like you can display your site’s content dynamically on a page, news updates, calendar events, media files, event videos and much more. Bellow are the common page templates type :

1) One-column
2) Two-column with a sidebar on the right
3) Two-column with a sidebar on the left
4) Three-column
5) Full-width page template

Steps To Create Page Template

Go to your current active theme’s folder and create a your-template.php page and copy paste bellow code.

Bellow this code add your dynamic contents like text, images, videos etc. Bellow code will display your page contents which you have added from admin panel. Copy paste bellow code and save it.

After completed above steps login in your website admin panel and navigate to Pages => Add New. Search Page attributes section and select page template you have created from drop down.


Hope this help you to create a custom page template. Please do like and share with your friends if you like.

Prem Tiwari

Prem Tiwari is the founder of and also a professional developer and a blogger by hobby.

Tags: , , , ,

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.