WordPress.org

Support

Support » Themes and Templates » [Resolved] How to remove search, categories, subscribe, calendar on the left sidebar

[Resolved] How to remove search, categories, subscribe, calendar on the left sidebar

  • Hi,

    I just updated Swift to the latest version 0.2.6 and suddenly lots of new things appeared in the left sidebar of the posts of my website
    http://www.ottimizzazione-pc.it/:
    a search box (useless as I already have a Google search box), categories, a subscribe box, a calendar, an ad for Swift.
    I can’t see any options to remove them in the widget area of the dashboard, and none in the Swift options.
    How can I get rid of them? I don’t need them at all.
    Thanks for your support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure this is the best solution, but I removed the following code from the sidebar.php:

    <aside class="wsb widget-mas">
    <div class="div-content">					<?php dynamic_sidebar( 'wsb' ); ?>
              <?php if ( ! is_active_sidebar( 'wsb' ) ) : ?>
              <?php the_widget('WP_Widget_Recent_Posts'); ?>
              <?php the_widget('WP_Widget_Search'); ?>
              <?php the_widget('WP_Widget_Categories'); ?>
              <?php the_widget('SubToMeWidget'); ?>
              <?php the_widget('Swift_Widget_Affiliate'); ?>
              <?php the_widget('WP_Widget_Calendar'); ?>
    <?php endif;?>
    </div>
    </aside>

    Is this correct? Is there any other way to remove them completely from the code of my website?

    Theme Author Satish Gandham

    @gandham

    Add some widget to the wide sidebar bottom.

    If you don’t plan on putting anything there, then just add a blank text widget without padding.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to remove search, categories, subscribe, calendar on the left sidebar’ is closed to new replies.