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:
http://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:
https://www.facebook.com/wpbeginner
Follow us on Twitter:
http://twitter.com/wpbeginner
Checkout our website for more WordPress Tutorials
http://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:
https://wordpress.org/plugins/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:
https://wordpress.org/plugins/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:
http://www.wpbeginner.com/wp-tutorials/how-to-limit-the-number-of-archive-months-displayed-in-wordpress/