I have what may be a php problem. I created a child theme of Twenty Eleven and I’m trying to create a custom template for the homepage. I modified the page.php template and saved it as homepage.php for my new template.
I have this code at the top:
/** * The template for displaying Homepage. * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */
And I’ve uploaded it to the proper theme folder on my webhost. However, when I go to create a new page and select this theme from the drop-down menu on the wordpress interface, it doesn’t show up as an option. It only shows me ‘Default,’ ‘Showcase,’ and ‘Sidebar.’ Am I missing something? I didn’t have to add any code to the functions.php file when I did this with Twenty Ten, but if I do now, I don’t know what it is. I’ve googled for help, but haven’t found anything to resolve this yet.
Thank you kindly,
- The topic ‘[Theme: Twenty Eleven] Custom Templates Not Showing Up’ is closed to new replies.