Hi,
Im trying to add custom widget area (field for some extra baner) under featured-content-wrap <div> using simple example:
in
function.php
:
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Name of Widgetized Area',
'before_widget' => '<div class = "widgetizedArea">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>',
)
);
and on line 96 before </div><!-- .wrapper --> in file
catchresponsive-featured-content.php
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Name of Widgetized Area") ) : ?><?php endif; ?>
When I try save the file I got error:
Parse error: syntax error, unexpected T_STRING in wp-content/themes/catch-responsive/inc/catchresponsive-featured-content.php on line 96
Also when I removed this line I got this same error (I need to update proper file via FTP)
What is wrong ?