WordPress.org

Ready to get started?Download WordPress

Forums

How to reduce display of archive links on view site? (1 post)

  1. visioform
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic