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?