Please help! Errors after adding a second sidebar ~
-
Hi all,
I’ve really screwed things up this time I think …
I’ve been trying to add a second sidebar to this theme, so that I’m able to use my custom templates with it.
I started off with editing the functions, creating the second sidebar file (sidebarcustom.php) and then applied the template to the front page. All seemed to be going well until I viewed the other pages … which all ended up with errors regarding the sidebar!
Please see what i mean here: https://www.campnageela.org/ ALL files now have an error.
I decided to AGAIN try by starting over and edited my functions.php with the following:
<?php register_sidebar(array('name'=>'sidebar')); register_sidebar(array('name'=>'sidebar2')); ?>
I’ve now sidebar.php and sidebar2.php
I’ve made sure the custom template and index.php files were calling the correct sidebar files … but still getting the errors on all pages!
Please, help help or direction would be muchly appreciated ~
Thanks
- The topic ‘Please help! Errors after adding a second sidebar ~’ is closed to new replies.