WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Trying to add a new template for a static page (3 posts)

  1. DaveHalliday
    Member
    Posted 5 years ago #

    Clueless newbie running 2.7

    Want a couple static pages on the site so trying to create a general template that does not have The Loop.

    I created static.php but cannot get WordPress to 'see' it.

    Where does it go -- in the theme folder? In the WP root?

    Many thanks!
    DaveH

  2. MichaelH
    Member
    Posted 5 years ago #

    Goes in your theme folder /wp-content/themes/your-theme

    The template must have the proper structure to be seen as a 'Template' choice when writing the Page.

    Resource:
    Why is there no Page Template option when writing or editing a Page?

  3. DaveHalliday
    Member
    Posted 5 years ago #

    Hi Michael

    /*
    Template Name: Links
    */

    DOH!

    Thanks a lot
    Dave

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags