How to remove META menu from WordPress sidebar.
May.5, 2011 in wordpress tips
Hi everybody! In this post i will show you how to make some changes to your sidebar. The sidebar also known as the menu can be easily customized via the administration panel of your blog. In the section Appearance > Widgets you can add or remove widgets of your choice but in some cases this method does not work. This was my case. When i installed WordPress I wanted to remove some widgets from my theme but they were not active and could not be removed with the widget manager. After long searching in GOOGLE I found solution of my problem. For example: I wanted to remove META menu from the sidebar.If your case is the same just do the following:
Open the Admin panel. Then go to Appearance >Editor and find sidebar.php file. Now edit this file with the editor. All you have to do now is to put comment tags
<!--
and -->
around the lines making up the META menu like this:
<!--<li>
<h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
</li> -->
No comments:
Post a Comment