WordPress Categories: Tree View / Inheritance

When working with hierarchical categories (taxonomies) in WordPress, you'll notice that the display of selected categories in the backend can be confusing, and posts don't automatically end up in their parent category when they're moved to a child category. Both of these issues can be easily resolved with just a few lines of code using the powerful hook system (in the form of an action and a filter).


85b430a0acae9cf5c958

Back