Twenty Eleven – Making a new page template from existing page template
-
I am using the TwentyEleven theme with a child theme applied (including a functions.php in my child theme folder). I want to create an exact duplicate of the the ‘Sidebar Template’ page, and name it something else (I want to use different information in the sidebar).
I copied the ‘sidebar-page.php, renamed it and added the following code to it:
<?php
/*
Template Name: M3-Test
*/
get_header(); ?>The new template showed up in ‘Template’ dropdown in the WordPress dashboard. However, when I applied it to a page, the main content area was as wide as a single column template and it laid on top of the sidebar area. What did I do wrong?
Thank you.
- The topic ‘Twenty Eleven – Making a new page template from existing page template’ is closed to new replies.