WordPress only showing last 12 months archive

Reading Time: < 1 minute

WordPress blog only shows last 12 months archives on the side bar but you would like to increase this.

To amend this:

1) Access file sidebar.php via FTP, hosting cpanel or via your wordpress admin panel
2) Locate <?php wp_get_archives(‘type=monthly&limit=12’); ?>
3) Amend 12 to the number of months you wish to display

How useful was this post?

Click on a star to rate it!

As you found this post useful...

Follow us on social media!

2 thoughts on “WordPress only showing last 12 months archive”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.