Support » Multisite » Same Widgets on all blogs

Same Widgets on all blogs

  • We have about 20 sub-blogs. I’d like all of them to use the same widgets on the sidebars. Is there an easy way to code that into the sidebar1.php and sidebar2.php instead of setting up each widget on each blog?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Remove the conditional dynamic_sidebar from the sidebar.php

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    but keep the sidebar stuff…
    <?php endif; ?>

    Then remove the register_sidebar code form the functions.php

    if ( function_exists('register_sidebar') )
    'before_widget' => '',
    'after_widget' => '',
    'before_title' => '<h2>',
    'after_title' => '</h2>',

    Then customize what you want directly in the sidebar.php


    Thanks, that helped a ton!
    Got it working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Same Widgets on all blogs’ is closed to new replies.
Skip to toolbar