Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am trying to remove the default widgets in a theme that I found here: http://top-wordpress.net/ The theme is Terapathy. In case of some of the most used themes, if I select the custom widgets, the default theme widgets disappear. But with Terapathy theme or any of the themes found in that site it is not possible. Is there anything I can do to remove those widgets.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

you can remove them by adding a blank text widget or you can open the sidebar.php file of the theme witch looks like this:

<!-- begin box about -->
        <!-- begin sidebar -->
        <div id="sidebar">


          <h2>About</h2>
            <div class="sidebox">
<img id="aboutimg" src="<?php echo get_option('cici_about_image')?>" alt="about"  />
<p><?php echo stripslashes(get_option('cici_about_txt')); ?></p>
            </div>
<h2>Advertisement</h2>
<div class="sidebox">
<?php if(get_option('cici_ads')=='yes'){?>
<?php include (TEMPLATEPATH . '/ad1.php'); ?>
<?php }?>
<div class="clear"></div>
</div>
<?php if(get_option('cici_videos')=='yes'){?>
<?php include (TEMPLATEPATH . '/video.php'); ?>
<?php }?>
<h2>Popular Articles</h2>
<ul class="popular">
<?php pp_popular_posts(4); ?>
</ul>
<h2>Flickr Photos</h2>
<div id="flickr">
<?php if (function_exists('get_flickrRSS')) get_flickrRSS(); ?>
</div>
<?php 
    /* Widgetized sidebar */
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

<?php endif; ?>
</div>
            <!-- end sidebar -->
        </div>
        <!-- end colRight -->

and remove all of the static widgets so you get something like this:

    <!-- begin box about -->
            <!-- begin sidebar -->
            <div id="sidebar">
<?php 
    /* Widgetized sidebar */
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

<?php endif; ?>
            </div>
            <!-- end sidebar -->
        </div>
        <!-- end colRight -->

this is right about the Terapathy theme, but you get the point and you can do that to any other theme with static widgets in sidebars.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.