WordPress.org

Ready to get started?Download WordPress

Forums

Category Post Count (6 posts)

  1. jerm
    Member
    Posted 9 years ago #

    I don't know if anyone's done this before but since I couldn't find it [didn't bother to look, actually! :)] I ripped some of GaMerZ code and repackaged it into a Category Post Count plugin that enables you to display the number of posts in each category on the right side of the category list. It's here http://jermexpress.com/archives/2004/10/20/category-post-count/ if you want it but I haven't zipped it or anything so you gotta leave me a message if you want it.

  2. lazymonster
    Member
    Posted 9 years ago #

    eh? but i thought WordPress can do it naturally already..

  3. tedfox
    Member
    Posted 9 years ago #

    optioncount - boolean - 0 or 1; depending on whether you want the number of posts in the category to be shown beside the category name
    <?php wp_list_cats('arguments'); ?>
    uh... u can already do it using normal tags already?

  4. Cypher
    Member
    Posted 9 years ago #

    WP does indeed do this by default. But this seems to be an alternate way of displaying the information. So not really a redudant feature.
    But it is usually customary to make the source code available by default if you're gonna provide a link to read about it. Having to e-mail to get the code seems like an unnecessary step.
    Regards

  5. jerm
    Member
    Posted 9 years ago #

    my bad!! please excuse my ignorance but yeah i guess this can be an alternative as far as presentation-wise.. anyway the code is up on the same link now! :)

  6. Cypher
    Member
    Posted 9 years ago #

    Thank you . :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.