Title: Listing categories
Last modified: August 18, 2016

---

# Listing categories

 *  [onocentaur](https://wordpress.org/support/users/onocentaur/)
 * (@onocentaur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/listing-categories-1/)
 * I’ve hacked an advanced search Page to search multiple categories by posting ?
   cat=a,b,c (which does work). Is there a way of listing categories nicely given
   a set of category IDs? Currently I’m using wp_list_categories(‘include=’.$_GET[‘
   cat’].’&title_li=’) and styling the list so I get a space-separated list, but
   I’d like a comma seperated list like the_category(‘, ‘).
    I assume that if the_category
   can do it, there must be a function that will work somewhere… Or am I being naive?

The topic ‘Listing categories’ is closed to new replies.

## Tags

 * [Listing Categories](https://wordpress.org/support/topic-tag/listing-categories/)

 * 0 replies
 * 1 participant
 * Last reply from: [onocentaur](https://wordpress.org/support/users/onocentaur/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/listing-categories-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
