I am trying to limit the list of monthly archives to three in my sidebar. In my sidebar.php, I have the code
<div class="sidebar-wrap clearfix">
<h3><?php _e('Archives', 'graphene'); ?></h3>
<ul>
<?php wp_get_archives('type=monthly&limit=3'); ?>
</ul>
</div>
but I am still getting an entire year’s worth of archives. Can someone let me know what I am missing?
Thanks so much.