WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] using templates for specific pages (3 posts)

  1. rugbert
    Member
    Posted 4 years ago #

    Im about to embark on a biggish project and need to be able to use different templates for certain pages. So that way I can use different loop queries on different pages.

    Is there a way so I can assign a certain template to each page? Or are all of my pages going to HAVE to use page.php?

    Im using 2.9.2 btw, there was only an option for 2.9.1

    also - when I click on a post, and it brings up that post, does WP automatically use the single.php template if it exists?

  2. AxelYa
    Member
    Posted 4 years ago #

  3. rugbert
    Member
    Posted 4 years ago #

    ohh see it was showing up at first, I had to add that
    /*
    Template Name: NAME
    */

    to any file I wanted to use as a template before that template option was visible.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.