WordPress.org

Support

Support » Themes and Templates » How to reduce display of archive links on view site?

How to reduce display of archive links on view site?

  • Hi

    I updated wordpress from 1.2 to 2.6 and wanted to reduce the display of my posts in the archives on the main page from four years to 12 months.

    In the theme editor I changed the line
    <?php wp_get_archives(‘type=monthly’); ?> to
    <?php wp_get_archives(‘type=monthly&limit=12’); ?>
    without any effect.

    I also changed the same line in WordPress classic but my archives on the view site still show all the months from Dec 2004 to now.

    Does anyone have an idea what I am doing wrong?

    Help greatly appreciated
    Ulla, visioform

  • The topic ‘How to reduce display of archive links on view site?’ is closed to new replies.