Archive count
-
Hi,
I have the following for my archives:
<form name=”archiveform” action=””>
<select name=”archive_chrono” onchange=”window.location = (document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);”>
<option value=”>Monthly Archives</option>
<?php wp_get_archives(‘type=monthly&format=option&show_post_count=true’); ?>
</select>
</form>
It’s doing what I want, almost. I would like the post count to show. Even though I have the option set for that, it’s not showing.
Any ideas?
I went into the templates-function-general.php and changed it from false to true in 2 areas in the archives section, but it didn’t do anything. It works if it’s not in a drop down box though.
My categories have a count, with no problems at all in a drop down box.
Thanks,
Sara 🙂
The topic ‘Archive count’ is closed to new replies.