Support » Fixing WordPress » Archives Sidebar Widget: Can't limir number of months posted
5 years, 4 months ago
I’m trying to use the Archives widget to display only the past two years of my clients’ posts, which span almost five years. I went to the codex and in my sidebar.php I inserted the following for the archives-2 id:
<?php wp_get_archives('type=monthly&limit=24'); ?>
Didn’t work. It still displays all months. Not the last 24. Is there some other way to do this or an I stuck downloading some plugin?