Title: Only One Category
Author: pressupinc
Published: <strong>2013-07-23</strong>
Last modified: 2016-02-26

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/only-one-category.svg)

# Only One Category

 By [pressupinc](https://profiles.wordpress.org/pressupinc/)

[Download](https://downloads.wordpress.org/plugin/only-one-category.1.0.4.zip)

 * [Details](https://tt.wordpress.org/plugins/only-one-category/#description)
 * [Reviews](https://tt.wordpress.org/plugins/only-one-category/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/only-one-category/#installation)
 * [Development](https://tt.wordpress.org/plugins/only-one-category/#developers)

 [Support](https://wordpress.org/support/plugin/only-one-category/)

## Description

Only One Category makes sure users only select one category for their post by making
the selectors radio buttons, which only allow one category to be selected.

Rather than spend all your time maintaining the editorial style of only putting 
posts into a single category, this plugin is a quick way for you to enforce that
standard. It makes it impossible for a person to accidentally break your site’s 
layout of functionality by putting a post in multiple categories. They just can’t
do it, whether by accident or intention.

## Screenshots

 * [[
 * How it’ll make the Categories section look while editing a post on the current
   version of WordPress.
 * [[
 * How it looks when you Quick Edit a post with the new UI.

## Installation

Activate the plugin. Now you should only see radio buttons where you previously 
saw category checkboxes. That’s why you downloaded it, right?

## FAQ

  Why use this plugin?

The biggest reason that you might want to use this plugin is that your site is structured
around the assumption that posts will exist in a single category. This makes it 
impossible for a person to accidentally break your site’s layout of functionality
by putting a post in multiple categories.

If you have many contributors and don’t have the resources for a thorough editorial
flow with checks and rechecks, the plugin is an easy quick way to make sure your
standard is maintained without taking a lot of time correcting mistakes.

  How does it work?

Plugin live-swaps check boxes for radio button before the pages are sent to users.

  Are there any options?

Not currently. If they ever make sense — if for example we were to add the option
to use it one all hierarchical taxonomies — it may possibly get one.

## Reviews

![](https://secure.gravatar.com/avatar/85738813d6f9ef140107ef31fc0292d48cd64ef0086607c3100851bfd16bef88?
s=60&d=retro&r=g)

### 󠀁[Works!](https://wordpress.org/support/topic/works-1239/)󠁿

 [thiagoalcav](https://profiles.wordpress.org/tkramertk/) 2017-04-04

Works like a charm!

![](https://secure.gravatar.com/avatar/d20ab8984e5386a91ba0b5d3850a2c7c1c2c9ca66c62a32add1f3b70fd9bc7b1?
s=60&d=retro&r=g)

### 󠀁[Post only ?](https://wordpress.org/support/topic/post-only/)󠁿

 [Trapipo](https://profiles.wordpress.org/trapipo/) 2016-09-16

Hello, works perfectly for post, but I would like to have the same for my pages 
🙂

![](https://secure.gravatar.com/avatar/e123a23d0a50efe1b40e78c832a3a0749735f45f88e97df5fb6cb6dc6f08c57e?
s=60&d=retro&r=g)

### 󠀁["by accident or intention" is not correct](https://wordpress.org/support/topic/by-accident-or-intention-is-not-correct/)󠁿

 [crepoke](https://profiles.wordpress.org/crepoke/) 2016-09-03

By intention, anyone can bypass the limit by changing the html in their browser.

![](https://secure.gravatar.com/avatar/07a20c9f56b2b62f304e1e3820aec06f9bf96bd4fd2533749b0e738042fb6e6c?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-2915/)󠁿

 [Karolina Vyskocilova](https://profiles.wordpress.org/vyskoczilova/) 2016-09-03

Works as expected, really good work!

![](https://secure.gravatar.com/avatar/efa53fc62001c5d5dbf912bcc69220a1569399e46d599d59135e6caaecdcfd7e?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin to make things easier for editors](https://wordpress.org/support/topic/excellent-plugin-to-make-things-easier-for-editors/)󠁿

 [newsblaze](https://profiles.wordpress.org/newsblaze/) 2016-09-03

Thank you David. Exactly what I wanted. Here is a suggestion: Allow an option to
prevent selecting the top-level category, if there are sub-categories. Still display
the top level, just don’t provide a button. Reason – because I only want the sub-
categories to hold posts.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/only-one-category/reviews/)

## Contributors & Developers

“Only One Category” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ pressupinc ](https://profiles.wordpress.org/pressupinc/)
 *   [ davidbhayes ](https://profiles.wordpress.org/davidbhayes/)

[Translate “Only One Category” into your language.](https://translate.wordpress.org/projects/wp-plugins/only-one-category)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/only-one-category/),
check out the [SVN repository](https://plugins.svn.wordpress.org/only-one-category/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/only-one-category/)
by [RSS](https://plugins.trac.wordpress.org/log/only-one-category/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4 (2016.02.25)

 * Quick Edit now works! Big thanks to [Andrew Nimmo](https://github.com/nimmolo)
   for the [PR](https://github.com/pressupinc/only-one-category/pull/4).

#### 1.0.3 (2016.02.25)

 * David can’t count…

#### 1.0.2 (2016.01.26)

 * Removed deprecated use of get_all_category_ids
 * Bumped tested version number

#### 1.0.1 (2015.04.21)

 * VCS headaches…

#### 1.0.0 (2015.04.21)

 * Some basic cleanup of code quality.
 * Making it not function for quick-edit, as it was broken and so far it’s not been
   worth fixing.

#### 0.2.0 (2013.08.16)

 * Made plugin file’s description shorter.
 * Confirmed 3.6 compatibility.
 * Made catcher a properly hooked function.

#### 0.1.5 (2013.07.23)

 * Shortened short description

#### 0.1.4 (2013.07.23)

 * put screenshot in the wrong place. yay!

#### 0.1.3 (2013.07.23)

 * git svn is hard * 2

#### 0.1.2 (2013.07.23)

 * git svn is hard

#### 0.1.1 (2013.07.23)

 * Documentation improvements

#### 0.1.0 (2013.07.22)

 * Initial

## Meta

 *  Version **1.0.4**
 *  Last updated **10 ел ago**
 *  Active installations **200+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/only-one-category/)
 * Tags
 * [admin](https://tt.wordpress.org/plugins/tags/admin/)[categories](https://tt.wordpress.org/plugins/tags/categories/)
   [edit](https://tt.wordpress.org/plugins/tags/edit/)[post](https://tt.wordpress.org/plugins/tags/post/)
 *  [Advanced View](https://tt.wordpress.org/plugins/only-one-category/advanced/)

## Ratings

 4.1 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/only-one-category/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/only-one-category/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/only-one-category/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/only-one-category/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/only-one-category/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/only-one-category/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/only-one-category/reviews/)

## Contributors

 *   [ pressupinc ](https://profiles.wordpress.org/pressupinc/)
 *   [ davidbhayes ](https://profiles.wordpress.org/davidbhayes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/only-one-category/)