WordPress.org

Ready to get started?Download WordPress

Forums

problem creating page template (3 posts)

  1. jawinn
    Member
    Posted 7 years ago #

    I cannot get the theme editor to recognize my new page template. I followed the directions here and cannot see the new page. Any help is much appreciated.

    thx,

  2. MichaelH
    Member
    Posted 7 years ago #

    Did you 'link' your Page to the template in Page Template box of Write->Page?

    You also need this type structure at the top of your page template:

    <?php
    /*
    Template Name: mypage
    */
    ?>
  3. rudolf45
    Member
    Posted 7 years ago #

    If there is no default page.php file AND your custom template - the Page Template option will not show up in thr Write area. You need both: the default page.php + your template.

Topic Closed

This topic has been closed to new replies.

About this Topic