Sidebar-page.php issues
-
Hello, I am trying to make different page templates based on sidebar-page.php. I made an exact copy of it, changed the template name at the top, and assigned it as the template to a page. When I view it in my browser the sidebar drops down below the main content.
I tried the fix here, but I don’t know exactly where to add the code specified, so I just added it to the very end of functions.php.
Now when I load the page, I get this error:
Fatal error: Cannot redeclare twentyeleven_excerpt_length() (previously declared in /home/bopjo/arrowriverbed.com/program/banjopicker/wp-content/themes/childtheme/functions.php:335) in /home/bopjo/arrowriverbed.com/program/banjopicker/wp-content/themes/twentyeleven/functions.php on line 337
Can anyone help me with this? It is so frustrating! Why is it so hard to create new page templates with a sidebar? Shouldn’t this be easier to do out of the box, without the need for complex code to “fix” it? Sorry, I’m just really frustrated with it and have been struggling with it all day!
- The topic ‘Sidebar-page.php issues’ is closed to new replies.