I'm trying to add a widget area to my theme.. It doesn't seem to be working though.. I've done this before so I'm sure it's just something small and stupid thats stopping it from working this time.. Maybe someone here can help me.
Here is the code in my html file
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(searchbar) ) : ?> <?php endif; ?>
Here is the code in my functions.php
<?php if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => 'searchbar', 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '', )); ?>