Sometimes you want a totally different looks for your WordPress website. Here comes the role of custom page templates. If you have a separate design layout, you can use that with the help of custom page template. Now let's see the steps to create it.
1. Create a blank file with the help of any text editor.
2. Add the below code on the top of the file.
3. Now add your Html code below the above code.
4. Save it in your theme directory with any name that you want to give.
5. Login to the WordPress admin.
6. Add a new page. Give a title to the page and leave the content area blank.
7. On the right hand, you will see a box called Attribute below the publish button. Choose the page template that you have created from here.
8. Publish the page.
That's it. These are the simple steps to create a custom page template if you know the html and css. You can also take the code from the existing design and modify it as per your need.
1. Create a blank file with the help of any text editor.
2. Add the below code on the top of the file.
<?php /* Template Name: any name */ ?>
3. Now add your Html code below the above code.
4. Save it in your theme directory with any name that you want to give.
5. Login to the WordPress admin.
6. Add a new page. Give a title to the page and leave the content area blank.
7. On the right hand, you will see a box called Attribute below the publish button. Choose the page template that you have created from here.
8. Publish the page.
That's it. These are the simple steps to create a custom page template if you know the html and css. You can also take the code from the existing design and modify it as per your need.
9 Comment
Sometimes you want a totally different looks for your WordPress website. Here comes the role of custom page templates. If you have a separate design layout, you can use that with the help of custom page template. Now let's see the steps to create it. CodCow
Balasmake a website Enhance is a web design and development company based in Dublin, Ireland. We build websites for companies and organisations of all sizes in all sectors.
BalasThanks for very useful post. You have nicely explained every steps. Wordpress flexible structure and compartmentalized architecture allows anyone to change practically anything on their site.
Balaspsdtohtmlpro.com
Word press is one of the most important application in creating websites. Thanks for sharing some tips on creating custom page template by using word press.
BalasPSD to Wordpress
Nice post! Thanks for giving some important tips on creating custom page templates in WordPress and your blog helped me a lot in my SEO works.
BalasWordPress Design Arizona
Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information. portfolio WordPress theme
BalasJust saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.
Balashttps://www.armemberplugin.com
These are the simple steps to create a custom page template if you know the html and css. You can also take the code from the existing design and modify it as per your need.
BalasThats exactly what I was looking like for two month ago, its very sad that I found out this information only now. Cause I have already created my own website with help of one service that gives u ability to construct your own website for your restaurant. U can get more information here and its not so hard as everyone think. By the way I own my little bar in Portland, so you are always welcome:)
Balas