Support » Themes and Templates » Remove the Archive and Blog Roll from pages

Viewing 1 replies (of 1 total)
  • Start using widgets and don’t use the Archive or Links widget.

    Or if you don’t want to use Widget, delete <?php wp_list_bookmarks(); ?> and <?php wp_get_archives('type=monthly'); ?> from wp-content/themes/default/sidebar.php.

    Note that wp-content/themes/default/sidebar.php also has a conditional test, to use wp_list_bookmarks:

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy
    Conditional Tags

Viewing 1 replies (of 1 total)
  • The topic ‘Remove the Archive and Blog Roll from pages’ is closed to new replies.