Title: Multiple Categories?
Last modified: August 18, 2016

---

# Multiple Categories?

 *  Anonymous
 * [22 years, 1 month ago](https://wordpress.org/support/topic/multiple-categories/)
 * I’d like to have readers able to select multiple categories. So if I have:
    Bicycling
   Books Everything Food General Movies Politics Religion a visitor and view only
   the categories of interest and get all of them at the same time. To be really
   useful making this persistant would be nice. But just the option of multiple 
   categories would be good.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/multiple-categories/#post-51071)
 * Just so I understand, you are asking if it could be set up so a reader could 
   pick their _X_ number of favourite categories, and only see the content from 
   those? Then you would like to have a cookie written so that on their return visit,
   their choices would be set already?
    Interesting! I’m sure a dev will have a 
   look at this at some point. Thanks for your idea!
 *  [mikeraz](https://wordpress.org/support/users/mikeraz/)
 * (@mikeraz)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/multiple-categories/#post-51097)
 * Yup, that’s exactly what I had in mind. Someone may care about the restaurant’s
   I’ve commented on, what bike rides are going on, but be repulsed by my politics.
 *  [lilandra](https://wordpress.org/support/users/lilandra/)
 * (@lilandra)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/multiple-categories/#post-51099)
 * are your politics that bad?
 *  [unteins](https://wordpress.org/support/users/unteins/)
 * (@unteins)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/multiple-categories/#post-51189)
 * A better way to do this would be to save the data in the database. This would
   require a change to the wp_users table to add a Category lookup ID and another
   table called something like wp_user2cat with the same structure as the wp_post2cat
   table.
    Doing it in the db is much nicer for the user since they don’t have to
   reselect the categories anytime they log in from a new computer. Plus it puts
   data in the hands of the blogger to figure out what topics people are reading
   and which they aren’t. There are code changes you’d have to make as well. You
   would need to add a category function to the user data and then find a way to
   filter the posts using that. You probably would also want an option to filter
   by default and have a link to all posts or if that was off then you would get
   all posts by default and then a link to see just the categories the user is interested
   in.
 *  [guboogi](https://wordpress.org/support/users/guboogi/)
 * (@guboogi)
 * [21 years ago](https://wordpress.org/support/topic/multiple-categories/#post-51649)
 * This topic is pretty old, but this is exactly what I had in mind for my site.
   I would like to create multiple categories and I know that everyone isn’t interested
   in all of them (namely the sports that I like to write about).
 * I was thinking of having a list of my categories on the right sidebar with a 
   checkbox next to them. By default they would be all checked, but a user can uncheck
   them as s/he pleases. A cookie would be stored on the local computer so that 
   these category selections would be saved for the next visit. A checkbox form 
   like this should suffice:
 * Music [ x ]
    Web [ ] Sports [ x ] Games [ ]
 * If “music” and “sports” were selected, once the user hits “submit” on the form
   it would take them to [http://www.website.com/index.php?cat=1+3](http://www.website.com/index.php?cat=1+3).(
   assuming they were categories 1 and 3 respectively)
 * Unfortunately, while this form doesn’t seem like it would be too difficult to
   make, I’m not especially savvy in these kinds of things. I know even less about
   incorporating cookies. Can anyone please help or lead me in a better direction?
   Thanks in advance.
 * (Also, unless I’m misunderstanding the post above that suggests solving this 
   within the database, wouldn’t that require users to register before their settings
   can be saved? I don’t have visitors register, so this would not work for me.)
 *  [berlinde](https://wordpress.org/support/users/berlinde/)
 * (@berlinde)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories/#post-51684)
 * i’d also want to do something along these lines with my blog, but unfortunatly
   i’m not php-savvy enough to pull it off, nor is my google-fu being productive.
   can anyone shed some light on how something like this might be done?
    it’d be
   greatly apreciated.
 *  [berlinde](https://wordpress.org/support/users/berlinde/)
 * (@berlinde)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories/#post-51685)
 * anyone? i’m really hitting a wall here..

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Multiple Categories?’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 7 replies
 * 7 participants
 * Last reply from: [berlinde](https://wordpress.org/support/users/berlinde/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/multiple-categories/#post-51685)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
