Hi all
I am wanting to call for a different sidebar on the page.php different to the one called for on the index and single page.
I have put <?php get_sidebar ('custom'); ?> on the page.php and then added this to the functions.php
<?php if ( function_exists ('register_sidebar')) {
register_sidebar ('custom');
} ?>
however I then get an error message when I try to view the site saying:
Parse error: syntax error, unexpected '<' in /home/emotiona/public_html/test/wp-content/themes/twentyten 2/functions.php on line 366
thanks for any help