• Hey!

    First of all I want to say that yes, I do know that there are loads of places that has fixes for this problem, but all of them are old and does not work for me… Hopefully one of you pros can help me!

    What I want to do is just create a template for one of my pages. I’ve done this once before on another account and another version, worked fine.

    1. I create a new .php file called, say “portfolio.php”
    2. I put in the
    <?php
    /*
    Template Name: Portfolio
    */

    ?>

    3. I go to the dashboard -> Pages and -> Edit my page called “Portfolio”. Problem is, no “Template” drop-down is showing up…

    I’ve checked, and double-checked my .php file (and even copied the template file from TwentyTen) and nothing looks wrong to me. I’ve also tried the “Switch-theme-and-then-back-again”-fix. Nothing.

    Please help me!
    Thank you in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just to clarify, you are duplicating your theme’s page.php and either placing it in your theme’s folder or a child theme’s folder, correct?

    Thread Starter lehar001

    (@lehar001)

    well, i’m not excactly copying it. Im making a new .php file in the theme folder with the nessecary template code in my post above. That should give me the option to override the page.php in the drop-down when i edit my page, right? Well the drop-down wont show up…

    I might also add that if i switch theme to twentyten it works fine, even with my own custom template. Is there any other bit of code i might have tinkered with?

    Thread Starter lehar001

    (@lehar001)

    Solved it!

    I made a copy of my entire theme folder and renamed it to TEST. I did this cause I wanted to see if there was one specific file that caused the problem. I then renamed the theme in the style.css to TEST, and then finally, everything was back to normal. Can it have something to do with me useing ??? in my theme name? Seems odd…!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Templates not showing up in dashboard’ is closed to new replies.