Title: [Plugin: WP Category Permalink] get main/primary category?
Last modified: August 21, 2016

---

# [Plugin: WP Category Permalink] get main/primary category?

 *  [donnytree](https://wordpress.org/support/users/donnytree/)
 * (@donnytree)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-category-permalink-get-mainprimary-category/)
 * Hello,
 * I am using the WP Category Permalink plugin to select a main category. It is 
   working great, except for CSS when a post is in multiple subcategories that have
   more than one parent category, both menu items (parent categories) are getting
   highlighted. I need a way to find the main category to use for CSS, does anyone
   else have this problem and have suggestions?
 * Thank you in advance!

The topic ‘[Plugin: WP Category Permalink] get main/primary category?’ is closed
to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [donnytree](https://wordpress.org/support/users/donnytree/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-category-permalink-get-mainprimary-category/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
