您可以通过添加空白文本窗口来删除它们,也可以打开侧栏。theme witch的php文件如下所示:
<!-- 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 -->
并删除所有静态小部件,这样您可以得到如下结果:
<!-- 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 -->
关于Terathy主题,这是正确的,但你明白了重点,你可以用侧边栏中的静态小部件来处理任何其他主题。