RSS
 

How to remove meta / blogroll widget?

18 Oct

When i started this blog i found meta/blogroll widget in the side bar.  I tried removing by dragging and placing the Meta widget into Inactive Widgets area and searched for Blogroll widget but couldn’t find it in Available widgets. Then googled for sometime and no use :( .  The reason for this is both the widgets are coded in sidebar.php.

<li><h2>Meta</h2>
<ul>
<li><?php wp_register('', ''); ?></li>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php bloginfo('rss2_url'); ?>">Entries RSS</a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a></li>
<li><a href="http://wordpress.org/">WordPress.org</a></li>
</ul>
</li>


<li><h2>Blogroll</h2>
<ul>
<?php wp_list_bookmarks('title_li=&categorize=0'); ?>
</ul>
</li>

So, if u dont want those widgets go to Appearance > Editor then select sidebar.php and check for the above code and remove it and update the file. If your theme has 2-3 sidebar.php file then check in all those files.  Now view your site you can see those widgets  vanished ;)

Related Posts:

  • No Related Posts
 
2 Comments

Posted in Wordpress

 

Tags: ,

Leave a Reply

 

 
  1. jaket akatsuki

    December 17, 2010 at 11:02 pm

    http://www.jaketmurah.com Thanks for that awesome posting. It saved MUCH time :-)

     
  2. Lizzette Weesner

    March 9, 2011 at 6:55 am

    whoah this blog is wonderful i love reading your articles. Keep up the great work! You realize, lots of individuals are searching around for this information, you can help them greatly.