WordPress.org

Support

Support » How-To and Troubleshooting » Limit Number of Categories using wp_list_cats

Limit Number of Categories using wp_list_cats

  • Using wp_list_cats, I made several nav menus of categories within categories. Unfortunately, wp_list_cats doesn’t appear to have a built-in limit on the number of categories shown.

    CATEGORY 1
    — subcategory1
    — subcategory2
    — subcategory3

    CATEGORY 2
    — subcategory4
    — subcategory5
    — subcategory6

    I want to limit the number of categories in each list to 8.

    Does this require a plugin or a hack?

    If possible, it would be nice to have the 8 category links be sorted by name, most popular, or most recent.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Limit Number of Categories using wp_list_cats’ is closed to new replies.