Get 10% OFF on Themes Bundle, Use Coupon Code Monsoon | Limited Time Offer! Buy Now

Reply To: Add new page template

#4584
Sanya Kaushal
Participant

Simply open any text editor and paste the following code in it.

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

The above line of code tells WordPress that it is a template file called PageWithoutSidebar. You can use any name you want. Now save this file as PageWithoutSidebar.php. Again you can use any other name for the file. But don’t forget to keep the extension as .php

Sanya K
CMx Contract management software