Widget not working properly if there's two sidebars
-
Hi,
All the pages on my website are using two different sidebars, one on the left and one the right. So, the plugin works properly with the left sidebar but isn’t working with the right sidebar.
If I select ‘Show on checked’, nothing is showing and if I select ‘Hide on checked’, it shows on every page.
Here’s the code of my template :
<?php get_header(); ?> <?php if ( is_active_sidebar( 'sidebar-8' ) ) : ?> <div id="secondary" class="widget-area span3 " role="complementary"> <div id="st-left" class="st-sidebar-list"> <?php dynamic_sidebar( 'sidebar-8' ); ?> </div> </div><!-- #secondary --> <?php endif; ?> <div id="primary" class="site-content span9"> <div id="content" role="main" > <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( '/partials/content', 'page' ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content --> </div><!-- #primary --> <?php if ( is_active_sidebar( 'sidebar-9' ) ) : ?> <div id="secondary" class="widget-area span3" role="complementary"> <div id="st-right" class="st-sidebar-list"> <?php dynamic_sidebar( 'sidebar-9' ); ?> </div> </div><!-- #secondary --> <?php endif; ?> <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Widget not working properly if there's two sidebars’ is closed to new replies.