You’re missing your closing curly brace in the function:
<?php
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'navbar',
'description' => '',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => ''
));
?>
Hmm.. it still doesn’t seem to be working. Is this what you meant?
<?php
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'navbar',
'description' => '',
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => ''
));
}
?>
Why don’t you paste the entire contents of functions.php into a Pastebin.
Actually, never mind – I think it’s something else. Do you have a line in header.php actually calling in the widget?
<?php dynamic_sidebar( 'navbar' ); ?>