111 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
Yeowza says

Hello guys, I just started studying up on page templates and I’m starting to wonder about them.

Tons of people blogging on “how-to” do a page template but they are just scratching the surface.

What I want to understand is.. what are they for?

What is the difference between coding a page from scratch and doing a page template? lol

If it is just a nifty way to code a page inside wordpress and save yourself from uploading it later then I think I will pass.

951 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
Daan says

Page templates ought to be coded from scratch as well. They’re templates for pages that will have other looks than your default (index) template.

So you want a certain section of your website to have a complete different layout compared to the rest of the site, you can create a separate page template to accomplish this. You’ll then assign this template to the pages you want changed and voila!

111 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
Yeowza says

So they are mainly for changing the look of your site without having to code each individual page over again right?

So I won’t be missing out on anything if I don’t use them then.

Thanks for the reply Daan.

951 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
Daan says
So they are mainly for changing the look of your site without having to code each individual page over again right.

Well no, that’s the point, when you want to change your looks you will have to change codes. It’s a way to use different templates for the same site, but on different pages.

1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
ThemeBlvd says

By default, all Wordpress pages are going to use the page.php file to display the page. If you have no page templates, all pages will follow the same identical structure.

But what happens if you don’t want ALL pages on your site to look identical? Maybe you want a contact page that looks different from your standard content pages. What do you do?

Well you would create a page template with a contact form and contact information. Then when you are writing the contact page, you could then select that contact page template you created.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by