WordPress.org

Ready to get started?Download WordPress

Forums

Removing meta and archives (3 posts)

  1. didriksmidt
    Member
    Posted 7 years ago #

    Hi I'm new to WordPress, is there a way to remove meta tags and archives from the index page and all the others?

  2. krugern
    Member
    Posted 7 years ago #

    Edit your sidebar.php.
    wp-content/themes/YOURTHEME/sidebar.php
    If you don't want to delete the archive and meta lines, comment them out using php - like this: <?PHP /* text you want to comment out */ ?>

    Archive: (code from my own sidebar, may be slightly different from yours!)
    <?PHP /*
    <li><h2>Archives</h2>
    <ul><?php wp_get_archives('type=monthly'); ?></ul></li>
    */ ?>

    Meta: (again, code different etc.)
    <?PHP /*
    <li>
    <h2>Meta</h2>
    <ul>
    <li><?php wp_loginout(); ?></li>
    </ul>
    <?php wp_meta(); ?>
    </li>
    */ ?>

    Ask for help if you need :)

  3. manstraw
    Member
    Posted 7 years ago #

    Also, if your theme is widget ready, install the widgets plug in, which gives you a drag and drop interface in the admin for custom building your sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.