• Hey guys, I’m developing a theme and I started to study up on page templates.

    Tons of people have been blogging about them but they only scratch the surface with a little how-to make a page template.

    What I want to understand is what are they for?

    What is the difference of coding a page from scratch and using a page template? lol

    If it is just a cool way to code a page within wordpress and not having to upload it later then I think I will pass.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Yeowza

    (@yeowza)

    On another note… just received this error here

    Warning: Parameter 1 to update_comment_type_cache() expected to be a reference, value given in

    I get it from this code here..

    <?php	query_posts('showposts=4');
    	while ( have_posts() ) : the_post(); ?>
    
    <?php endwhile; ?>
    Thread Starter Yeowza

    (@yeowza)

    Ok the error was from a plugin I was using, deleted the plugin and it works now

    Custom page templates can be used to apply coding to any number of Pages. For example, a custom page could be widget-enabled – this allowing the user to add/remove widgets across multiple Pages at will. A handcoded page will not work within WordPress unless it uses the basic template tags – in which case, it’s almost a page template.

    And that error isn’t coming from the code snippet you’ve posted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page templates, what are they for?’ is closed to new replies.