Trying to get custom sidebar to work
-
Trying to get my custom sidebar to show up. It’s registered and showing up in my widget area. The code in my sidebar-children.php file is:
<?php if ( function_exists (dynamic_sidebar('sidebar-children') ) ) : ?> <?php dynamic_sidebar ('sidebar-children'); ?> <?php siblings();?> <?php endif; ?>
and the call in the template is:
<?php if ( is_active_sidebar( 'sidebar-children' ) ) : ?> <?php dynamic_sidebar( 'sidebar-children' ); ?>
What am I doing wrong? Thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Trying to get custom sidebar to work’ is closed to new replies.