Forums

Can I use different templates for "pages" and "posts"? (5 posts)

  1. pickled
    Member
    Posted 7 years ago #

    I've seen some posts about allowing users to switch styles, BUT that is not what I want. What I would like to do is use 2 different templates, one for the pages I create with WP and one for the posts. Is there anyway to do that?

    TIA!

  2. moshu
    Member
    Posted 7 years ago #

    Yes. See the Codex: Templates, Pages, Themes etc.
    http://codex.wordpress.org/Main_Page

  3. Lorelle
    Member
    Posted 7 years ago #

    http://wordpress.org/support/topic.php?id=27073 is EXACTLY what you want for two posts. But check the PAGES article mentioned above and it will take you through the process for Pages templates.

  4. moshu
    Member
    Posted 7 years ago #

    Well, it's not EXACTLY what the OP asked. The question was not about 2 single templates, but about ---
    1 template for posts
    1 template for Pages
    So, Lorelle, while your link is useful in itself, doesn't answer the original question. Let's not mislead people :)

  5. Root
    Member
    Posted 7 years ago #

    The answer is yes regardless. The posts will default to whatever the theme says. For pages associate a new template.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.