Support » Plugin: Multiple Sidebars » Different code

  • Resolved vanityswimwear

    (@vanityswimwear)



    I did everything the instructions said to do except the last step. My code is different than the code you listed, and I tried to edit it but nothing worked.

    This is my code, what do I replace it with to make this work?
    Thanks!

    ?>
    <div id=”secondary” class=”widget-area” role=”complementary”>
    <?php do_action( ‘before_sidebar’ ); ?>
    <?php if ( ! dynamic_sidebar( ‘sidebar-main’ ) ) : ?>
    <?php endif; // end sidebar widget area ?>
    </div>

    https://wordpress.org/plugins/multiple-sidebars/

Viewing 1 replies (of 1 total)
  • Plugin Author Andrico

    (@andrico)

    Hello vanityswimwear!

    <div id=”secondary” class=”widget-area” role=”complementary”>
    <?php do_action( ‘before_sidebar’ ); ?>
    <?php if ( ! dynamic_sidebar( ‘sidebar-main’ ) ) : ?>
    <?php endif; // end sidebar widget area ?>
    </div>

    to

    <div id=”secondary” class=”widget-area” role=”complementary”>
    <?php do_action( ‘before_sidebar’ ); ?>
    <?php MS_dynamic_sidebar(); ?>
    </div>

    Please, rate the plugin! Thanks!!

Viewing 1 replies (of 1 total)
  • The topic ‘Different code’ is closed to new replies.