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

  1. marcomancosu
    Posted 2 years ago #


    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
    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
    Posted 2 years 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;?>

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

  3. Satish Gandham
    Theme Author

    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic