Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Parent Category Toggler

Skildring

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

Skjermbilete

  • A simple introduction:

Installasjon

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

Vanlege spm.

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.

Omtalar

11. mai 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.
3. september 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... 🙂
3. september 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!
Les alle 13 omtalar

Bidragsytarar og utviklarar

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

Contributors