Support » Themes and Templates » Remove Category and Meta Data from sidebar

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)

    (@podz)

    Support Maven

    Delete this to remove the category list:
    <li><h2>Categories</h2>
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    </ul>
    </li>

    Delete this to remove the Meta:
    <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://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</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>

    Delete?
    Open up your sidebar.php template in a plain text editor and in take a look at all those Template_Tags used in the code – and delete (or better comment out) what you don’t need.

    Thanks so much podz and moshu! Delete worked great! and with the links I can learn why! Thanks again! Man WordPress rocks. Especially the support forums.

    Thanks moshu. I just installed WordPress a couple of days ago and I wanted to know the same thing. A search on this forum brought me to this post. I simply commented out the lines.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Category and Meta Data from sidebar’ is closed to new replies.