Parent Category Toggler

Parent Category Toggler

Ben Lobaugh (blobaugh)

Automatically toggle the parent categories when a sub category is selected.

1.3.4

  • Compatibility updates for WordPress 4.8

1.3.3

  • Tested with WP 4.4

1.3.2

  • Only load plugin assets on post (CPT included) new/edit pages in wp-admin ( Props bishoya )

1.3.1

  • Verify working with WP 4.0 Alpha

1.3

  • Updated functionality to 3.7.1

1.2

  • Added filter super_category_toggler to control which taxonomies will automagically toggle ( Props guar )

1.03

  • Plugin maint taken over by Ben Lobaugh due to abandonment
  • Tested up to version updated
  • Bumped back into the repository

Installation Instructions

  1. Unzip the zip package in your plugin folder
  2. Activate it in your wp-admin menu 🙂

Can I control which categories automatically toggle?

Absolutely! version 1.2 introduced a filter called super_category_toggler.
Pass back an array of categories you want to toggle and the rest will be excluded
by default.

It still works well today!

By daro2013 on May 6, 2021

The plugin works as it says. I have a suggestion: can you add a functionality so that when users UNCHECK a parent category, all its child categories are UNCHECKED automatically?

Excellent

By Aram Ghazaryan (aramgh100) on April 11, 2020

Thank you very much it works perfectly ~

Works well

By clk87 on April 9, 2018

Does exactly what it says. Thank you

Should have been part of Wordpress

By certainlyakey on January 18, 2018

A native-like experience.

Not bad but …

By GDY (Grandy) on May 11, 2017

… it also unchecks the parent category if you uncheck a child even if there are other childs of that parent that are still checked. This seems like a bug to me.

simply works

By Radhe (pulser1983) on September 3, 2016

Does exactly what it says

Works as expeced.

By Dave Chimny (NetzBlogR) on September 3, 2016

Some actions on my posts are triggered with use the parent categories (if in_category() ...). I forgot to set the parent category so many times, but that's over now... :-)

Excellent

By (stagnant) on September 3, 2016

Helps keep our users/authors in line. Does exactly what it needs to do by highlighting the parent category when selecting a child. Thanks!

My must-install

By SHA Miao (shamiao) on February 7, 2017

Thank the author. [Expletive deleted] the ridiculous mechanism of WordPress.

  1. Unzip the zip package in your plugin folder
  2. Activate it in your wp-admin menu 🙂

Reviews

4.8 out of 5 stars

  • Version: 1.3.4
  • Last updated: 7 years ago
  • Active installations: 10K
  • WordPress version: 2.5
  • Tested up to: 4.8.25
  • PHP version: false