I am using limit=# with wp_get_archives to limit the number of monthly archive entries in my sidebar. I include a link to an archive page to show the complete list of all months.
Is there some way to determine how many monthly archives are available? I really only want to see the "See All..." link if there are more months than my limit.
<?php wp_get_archives('limit=5&type=monthly'); ?>
<li><a href="<?php bloginfo('url'); ?>
/archives-by-month/"><i>See All...</i></a></li>
I'm using WordPress 2.1.