Custom sidebar
-
Hi, I have try this lots and can’t seam to get it working… I have created 2 side bars, sidebar.php & sidebar-custom.php which I am trying to widgetize.
Sidebar 2 appears in my dashboard but nothing appears when I add a widget.
The code in my function.php is;<?php if ( function_exists('register_sidebar') ) register_sidebar(); ?> <?php if ( function_exists ('register_sidebar')) { register_sidebar ('sidebar-custom'); } ?>
and the code in my sidebar-custom.php is;
<ul class=”sidebar”> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-custom') ) : ?> <?php endif; ?>
Please can someone help, Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Custom sidebar’ is closed to new replies.