[resolved] Cant find page template! (4 posts)

  1. midnightreviewcouk
    Posted 3 years ago #

    Okay guys, a week ago I made some template pages and i managed to upload them and use them without any problems at all...

    I wanted to add a forum so i used the bbpress plugin for it and it sadly changed to theme i was using, which wasnt a big problem because i easily changed back to the one i was using (easel) and to make sure everyone was running smoothly i deactived and deleted the forum plugin

    buuuuut now all of my pages that i was using a template for went back to default and whenever i try to select the template page from the drop down it doesnt even show up! although i am still able to edit them in the appearance> editor

    Ive tried using a different template them switch back to the one i want to use, ive tried reuploading, ive made sure they template files are in the right place, ive checked my code and i know it works... i just cant select it from the drop down menu! I even reset my database and tried doing it from the scratch but NOTHING!

    Could someone please help!

  2. Between the time they were working and now, did you happen to upgrade to WordPress 3.4?

    If so, there is a small bug with template files in 3.4 where this syntax will no longer work:

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

    You need to put the template name on its own line, like this:

    Template Name: Blah

    This should be fixed in the next release, but this is a simple workaround for now.

    Let me know if this helps or if something else may be going on.

  3. midnightreviewcouk
    Posted 3 years ago #

    Zoonini..... Thank you sooooooo much!!!!!!

    This worked perfectly!

    I spent so many hours trying to work this out

    youre a life saver thank you, thank you, thank you!

  4. You're very welcome. I'm glad this did the trick!

Topic Closed

This topic has been closed to new replies.

About this Topic