• Resolved Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)


    Hi guys,

    I recently started up my own WordPress blog to play around with the tech, but I can’t seem to get templates working.

    I created a page template based off ‘page.php’, adding the

    /*
    Template Name: Alternate
    */

    business to the top of the script, then uploaded it to my site via Filezilla FTP

    For some reason, however, when I enter the ‘Editor’ menu, the uploaded templates do not appear, and I can’t select them when creating pages

    Anyone have any advice?

    Sorry if this has been asked before, I’ve been googling all day but couldn’t find a solution

Viewing 14 replies - 1 through 14 (of 14 total)
  • Try creating the snarfer page template as a test.

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Hi Esmi,

    Thanks for getting back to me

    I just gave the Snarfer template a try, but its not showing up on the editor or the ‘Template’ drop down when creating a page

    I can’t imagine this is a good sign?

    What theme are you using? Where did you download it from?

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Its actually a custom theme made for me by a friend

    Is there some parameter in the theme CSS that allows for additional templates to be added?

    Hi Uh Oh,

    Make sure if you write it like this one:

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

    make sure if that code is placed at line 1 of your file

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Hi shinjing,

    Thanks for the reply,

    I have it so that <?php is on line 1, then the rest is on 2 & 3

    Hi Uh Oh,

    Yes, this code:

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

    should be at line 1 then your template code should be at line 4

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    That’s currently how I have it, but I’m still experiencing this problem

    Do I need to set my theme to allow more than 2 templates at a time?

    make sure if your file name is correct, for example: if i want to create a page template blog, then my file name should be page-blog.php

    No. What happens if you switch to the 2012 theme and create a custom template in that theme?

    make sure if your file name is correct

    The filename doesn’t matter in this situation. You could call it wibble.php and it would still work as a custom page template.

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Oh man, are you guys ready for a huge amount of facepalm?

    I was FTPing to the wrong domain, I have two very similar ones.

    Thanks for all the advice though, I really appreciate the fact that people are willing to help!

    *grin* We all have days like that. Glad to hear that it’s working for you now.

    Thread Starter Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Its the lack of coffee, getting to me.
    Think its about time I go and remedy that

    Thanks again ??

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