WordPress.org

Ready to get started?Download WordPress

Forums

Swift Basic
[resolved] How to remove search, categories, subscribe, calendar on the left sidebar (3 posts)

  1. marcomancosu
    Member
    Posted 9 months ago #

    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.

  2. marcomancosu
    Member
    Posted 9 months ago #

    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?

  3. Satish Gandham
    Member
    Theme Author

    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags