WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating Additional Page Templates (5 posts)

  1. Scribe
    Member
    Posted 7 years ago #

    I'm using 2.1 and I actually want to create possibly five Page templates with five different sidebars (this is for a three column theme). I've disabled the permalink action on the site, as well as the comments, so there won't be any confusion there. My site will have a limited number of Pages, rather than blog posts.

    Is it possible to create more than one Page template? If so, how is it done?

  2. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    You can have as many as you like. Check out the Page Templates documentation.

  3. animator
    Member
    Posted 7 years ago #

    You can copy a template file as many times as you wish and rename it to any name you want. Then you can modify it. Don't forget to change the template name inside the code:

    (Every template file must have

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

    inside the code)

  4. Scribe
    Member
    Posted 7 years ago #

    Thank you. It's so easy to do. I can't believe I had so much trouble with it.

    Again, thank you.

  5. winspire
    Member
    Posted 7 years ago #

    Surprisingly easy -By the way once u have created the template how do u implement it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.