WordPress provides a clever way to do this called Custom Page Templates. To create a WordPress Page Template, you’ll need to use your text editor. Go to the directory on your server where you installed WordPress, and then navigate to the directory of your theme. Usually that looks something like this: “/wp-content/themes/default” where “default” is your theme name.

That’s where you will create your custom page template file. Create a file called “my-template.php” and add the following code to it:

The Template Name: Cover Page

tells WordPress that this will be a custom page template, where Cover Page is the name that will show up in the drop down selector when you create your page.

The other lines in this file simply include the header and footer of your blog. You can add any HTML that you want to display on your page in the middle.

That’s it – now you have a custom page template!

Leave a Reply

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

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending
TD Web Services

 COPYRIGHT OF TD WEB SERVICES © 2018. ALL RIGHTS RESERVED.

or

Log in with your credentials

or    

Forgot your details?

or

Create Account