Published on September 18, 2017 by WPBeginner

Are you wanting to display your archive months on your site and have been blogging for years? This can cause your archive widget to be quite large but there are a few methods for reducing the size of your archive. In this video we will show you a few ways to limit the number of archive months displayed in WordPress.

Text version of this tutorial:
www.wpbeginner.com/wp-tutorials/how-to-limit-the-number-of-archive-months-displayed-in-wordpress

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
www.facebook.com/wpbeginner

Follow us on Twitter:
twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
www.wpbeginner.com/

Summary of this tutorial:

This video is to help users find a method to reduce the number of archive months displayed using either a plugin or editing your functions.php.

Our tutorial is for WordPress.org self hosted sites not sites on WordPress.com.

The first plugin we suggest, Collapsing Archives, can be found here:

Collapsing Archives

This plugin will add a widget for you to use that will give you options for archive dropdowns rather than showing each month by year automatically.

Our second recommendation is the plugin Compact Archives found here:

Compact Archives

That gives you shortened options for displaying each month of the year.

For editing your functions.php you will find the code to add for both your functions.php and your widget in our article:

www.wpbeginner.com/wp-tutorials/how-to-limit-the-number-of-archive-months-displayed-in-wordpress/

Leave a Reply

44 Comments on "How to Limit the Number of Archive Months Displayed in WordPress"

Notify of
avatar

ThePipingPilot
Guest
ThePipingPilot
8 months 16 days ago

Neat stuff

ThePipingPilot
Guest
ThePipingPilot
8 months 16 days ago

Neat stuff

Pranuthi Karri
Guest
Pranuthi Karri
8 months 17 days ago

good information thanks:)

Pranuthi Karri
Guest
Pranuthi Karri
8 months 17 days ago

good information thanks:)

Julie Hartig
Guest
Julie Hartig
8 months 18 days ago

Is there some way to limit how far back users can see content without signing in?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
8 months 13 days ago

We don't have a simple method we would recommend at the moment

Julie Hartig
Guest
Julie Hartig
8 months 18 days ago

Is there some way to limit how far back users can see content without signing in?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
8 months 13 days ago

We don't have a simple method we would recommend at the moment

Dritan Ikonomi
Guest
Dritan Ikonomi
8 months 18 days ago

Good to know

Dritan Ikonomi
Guest
Dritan Ikonomi
8 months 18 days ago

Good to know

Александр В
Guest
Александр В
8 months 18 days ago

1

Александр В
Guest
Александр В
8 months 18 days ago

1

1 2 3 5
wpDiscuz