Added new widget area, cannot add widgets
-
Hello, new to template building/tweaking. I’ve run into the following problem, can’t seem to find an answer out there.
I want to add a new widget area in my footer. This post was very helpful. I registered the widget areas in FUNCTIONS.php thusly:
if ( function_exists('register_sidebar') ) { register_sidebar(array( 'name' => 'Right Sidebar', 'id' => 'right_sidebar', 'before_widget' => '', 'after_widget' => '<br/><br/>', 'before_title' => '<h3>', 'after_title' => '</h3>' )); register_sidebar(array( 'name'=> 'Footer', 'id' => 'footer', 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h3>', 'after_title' => '</h3>' )); }
In footer.php, I’ve added
<div id="footer_widget"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer') ) : ?> <?php endif; ?> </div>
and i’ve changed the dynamic_sidebar parameter in sidebar.php to right_sidebar.
Both of these widget areas appear in the widget admin page. However Footer does not expand. I can’t drag new widgets to it, and the arrow next to it is unresponsive. Right Sidebar functions perfectly. Have I overlooked a step?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Added new widget area, cannot add widgets’ is closed to new replies.