WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Templates in WP (7 posts)

  1. vitalis
    Member
    Posted 10 years ago #

    Are multiple templates gonna happen in WP in the next version? Or at least provide native support for 3 default templates?: 1- index 2 - category/monthly archive view 3 - individual archive view.
    I don't understand the thinking behind feeding everything into the index.php. (Not criticism, I'm just curious.)

  2. hanni
    Volunteer Moderator
    Posted 10 years ago #

    You can use .htaccess to have different 'templates' for your achives and so on.
    Do you not find it simple that you don't need to create lots of 'templates'?

  3. charle97
    Member
    Posted 10 years ago #

    i use 9 templates. if you're using the clean url option, change the 'index.php' portion of the rewrite rule to the name of the template that you created.

  4. vitalis
    Member
    Posted 9 years ago #

    I just think having a straight-forward way to edit and update different templates is almost a necessity. You would most likely need a different way to present information for past posts or individual posts.
    Plus, it would be a great way for other bloggers to adopt WP more easily and thus increase its popularity.
    I tried doing a project with WP but I realised I was spending too much time with hacks and plug-ings to make it work like MT, something that a lot of people are trying to do even if they never used it before. And I think this is because it's just how you present information on the web.

  5. DianeV
    Member
    Posted 9 years ago #

    Using multiple templates is not as tough as it sounds. As I kept losing track of my explanation here, I've posted it to my blog along with some other stuff:
    http://developedtraffic.com/resources/wordpress-notes.php
    Now, all I have to do is sort out how to get a "monthly" page.

  6. kairgid
    Member
    Posted 9 years ago #

    Yes, I agree... multiple templates are a must. Is version 1.3 going to support multiple templates... ie a visual way like MT to link to external template files. Hacking usint .htaccess is nasty...
    anyone know?

  7. ElasticDog
    Member
    Posted 9 years ago #

    I wrote up a tutorial about how I handle multiple templates without having to use .htaccess rules on my page. Hopefully it will help some people out...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.