WordPress.org

Ready to get started?Download WordPress

Forums

custom category loop? (2 posts)

  1. warpdesign
    Member
    Posted 6 years ago #

    Is there a way to loop through all the categories for my side bar manually without WP_get_cat()? What I need to do is echo out all the categories but I need it to be formated like this:

    <li><span>[category count]</span><a href="[category link]">[category name]</a></li>

    How can I do this?

    I'm thinking if I can get an array of all the category IDs and then loop through them echoing out the count, permalink and name for each...

  2. warpdesign
    Member
    Posted 6 years ago #

    Anyone? Need help...

Topic Closed

This topic has been closed to new replies.

About this Topic