• I’m displaying the children of a parent category, and I want the five most recent children categories to get displayed, rather than all children.

    Is there an argument I can specify to accomplish this? This is the code I have right now:

    <?php wp_list_categories('title_li=0&show_count=0&child_of=7&show_last_updated=true'); ?>

    Any help would be awesome. Thanks!!

Viewing 1 replies (of 1 total)
  • Nope, there isn’t such an arg.

    If by recent categories you mean categories with the most recent posts, you will have to do some serious SQL joins to get them.

Viewing 1 replies (of 1 total)

The topic ‘Display Recently Updated Categories in Sidebar?’ is closed to new replies.