I cleared all the other functions from the functions.php in the child theme and added the following code to it:
<?php
if ( function_exists('register_sidebar') )
register_sidebars(5,array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h4>',
'after_title' => '</h4>',
));
?>
as per instructions on http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/
but I am getting a syntax error on line 12 <?php
Why? Does there need to be additional code before the function?
Thanks...
↧
dragonbonetattoo on "[Theme: Landscape] Can't add widgets to footer"
↧