Feature #4858
closedAdd Category to Pages Plugin
Added by Luke Waltzer over 9 years ago. Updated over 9 years ago.
0%
Description
Possible to give this plugin a look and consider for an upcoming release?
https://wordpress.org/plugins/add-category-to-pages/
Seems an improvement over the Page Tagger plugin already on CAC.
Updated by Boone Gorges over 9 years ago
Thanks for the suggestion, Luke.
Does the previous plugin do anything that this one does not? If we're going to introduce a new one, I'd prefer to passively deprecate the old one; but I don't want to deprecate if it means taking away functionality.
Updated by Luke Waltzer over 9 years ago
Don't think it does... all I see is an added a Tag field to the page editor, which the new plugin would replicate (and more... it allows you to harness Categories as well as Tags for pages).
I haven't tested this on my local, though... if you'd like me to, I'm happy to give it a spin.
Updated by Boone Gorges over 9 years ago
- Status changed from New to Reporter Feedback
Looking over the plugins briefly, it looks like we should actually be able to swap one out for the other. Neither one stores any data, and they both do nearly the same thing.
One place where the two plugins differ is that add-category-to-pages allows for page tags as well as categories. Page Tagger only enables tags. Is this the "improvement" that you have in mind?
I would prefer not to add the new plugin alongside the old one; a swap-out would be preferable. But swapping is non-trivial - I need to write a script that cycles through all sites, deactivates the old plugin, and activates the new one. I'd prefer to avoid that task unless there's a good reason to do so. So, question for you: for your use case, do you explicitly need the ability to add Categories to pages?
Updated by Luke Waltzer over 9 years ago
At this stage, our taxonomy requires the new plugin primarily so that we can use Categories and Subcategories, and to archive posts alongside pages. I could imagine building out a taxonomy with tags, but would prefer not to.
Are you certain Page Tagger has users? Might be easier to verify that before running the script.
Thanks, Boone-
Updated by Boone Gorges over 9 years ago
- Target version set to 1.8.16
Ah, I'm glad you asked. It looks like the number of sites running the plugin is actually quite small - maybe a dozen. So it's probably just as fast to do it manually. I'll do it in a two-step process. For 1.8.16, I'll add the Category to Pages plugin, and I'll add Page Tagger to our list of plugins that are hidden from the plugins.php panel, so that it cannot be activated on any new sites. After 1.8.16, I'll manually swap the plugins on all the sites where Page Tagger is currently active. And in 1.8.17, I'll remove Page Tagger from the codebase.
Updated by Boone Gorges over 9 years ago
- Status changed from Reporter Feedback to Assigned
- Assignee set to Boone Gorges
add-category-to-pages added in https://github.com/cuny-academic-commons/cac/commit/f503a7bd983dcac918631a9a2162f80feaa7ad58
page-tagger hidden in https://github.com/cuny-academic-commons/cac/commit/24ddedce42ae498b23678c1a5750256ace1eaa22
Updated by Boone Gorges over 9 years ago
- Target version changed from 1.8.16 to 1.8.17
I've swapped out the plugins on all sites where they were active. I'm moving the ticket to 1.8.17 to remember to remove page-tagger.
Updated by Boone Gorges over 9 years ago
- Status changed from Assigned to Resolved
page-tagger removed in https://github.com/cuny-academic-commons/cac/commit/59d5dc80b58037bb815bec4947aa0656aa79bc2c