• Resolved vaib007

    (@vaib007)


    Hi,

    I am using defult theme for my web site. I’ve created new page templates and uploaded it.

    But when i tried to add new page by selecting new template these new templates are not appearing in templates drop down.

    I’ve also used follwoing coment on the top of the new template files.
    <?php
    /**
    * @package WordPress
    * @subpackage Default_Theme
    */

    /* Template Name: abc
    */
    ?>

    Also how to get rid of “Hello world …. ” post. Since i am using wordpress for website but not blog I want to use pages but not posts.

    Please help, i am new to wordpress.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Should be in the format:

    <?php
    /*
    Template Name: singlepage
    */
    ?>

    Then change to the default theme and then back to your custom theme, then you should see your template pages.

    Go to edit posts and delete that post.

    Thread Starter vaib007

    (@vaib007)

    Thank you songdogtech,

    But i dont have custom theme. i am using default theme.

    If at first you don’t see your custom templates, the fix is to swtich to any other theme, then switch back to your custom theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New templates are not listed in template dropdown.’ is closed to new replies.