• I am trying to create a custom page template for my blog. (Genesis running Adaptation Child theme.) I created a sample php template and uploaded it to my child theme folder via FTP. I cannot get it to show up in the drop-down menu when I create a new page on my site (in the page attributes).

    I have tried using my clear cache plugin and have waited hours. Nothing has changed.

    It occurs to me that I might need to clear my cache in CloudFlare, but I know it will slow down my site if I clear the entire cache. If anyone knows which specific files I should clear, I would love the help.

    Any ideas on how to get my template to show up? I thought I posted this earlier this morning, but it seems to have disappeared. I am not a professional coder. I’m just a novice.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please put your template’s code on wpbin.io and put a link here so we can take a look.

    Thread Starter momsthewordus

    (@momsthewordus)

    Thank you for your quick response.

    It’s just a blank page right now to see if the page will appear. I don’t want to spend the time figuring out the coding until I can get the template to show up. I’m following an online tutorial. Could it not be showing up because it is nothing but a title?

    Here’s the code:

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

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That’s a possibility.

    Try

    <?php
    /*
      * Template Name: CustomPageTest
      */
    phpinfo();
    
    Thread Starter momsthewordus

    (@momsthewordus)

    Thank you. That didn’t work either. I also tried adding the code from the website for a sample page. That didn’t change anything.

    I searched on the web for this problem, and I found some developers talking about it. They said there was a problem with caching that those files were only updated every hour. Those threads were a year old, though. I would think whatever that problem was would be fixed by now.

    Some of them talked about bumping up the theme (I’m guessing that means changing the version number), but I can’t do that because I’m not the creator of the theme.

    I found a plugin, but it doesn’t do the things I need it to. I want to create a full page with no header or footer and be able to change the CSS for that page. (A lot for a novice coder, but I’ve figured out harder things before.)

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I wonder if you have to do something special for Genesis themes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Page Template Not Showing Up’ is closed to new replies.