Forums

Post count in archives, config'd where? (3 posts)

  1. lgoodbar
    Member
    Posted 8 years ago #

    In WordPress 0.71, I modified b2-include/b2template.functions.php to show the post count when showing archive links (function get_archives), i.e. October 2003 (3).
    In WP 0.72, there's a configuration setting called show_post_count that will do this for me. However, I don't see this option in the admin menus. I thought it would be under Other Options, as that's where the archive mode is set. Or am I missing something?

  2. Alex King
    Member
    Posted 8 years ago #

    You can pass in the arguments when you call the function like so:
    get_archives('', '', 'html', '', '', true);
    Or you can change the default value in the function definition from 'false' to 'true'.
    I usually do the latter.

  3. lgoodbar
    Member
    Posted 8 years ago #

    OK, Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.