Add Category to Pages Plugin
Possible to give this plugin a look and consider for an upcoming release?
Seems an improvement over the Page Tagger plugin already on CAC.
#2 Updated by Luke Waltzer almost 6 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.
#3 Updated by Boone Gorges almost 6 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?
#4 Updated by Luke Waltzer almost 6 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.
#5 Updated by Boone Gorges almost 6 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.
#6 Updated by Boone Gorges almost 6 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
#8 Updated by Boone Gorges almost 6 years ago
- Status changed from Assigned to Resolved
page-tagger removed in https://github.com/cuny-academic-commons/cac/commit/59d5dc80b58037bb815bec4947aa0656aa79bc2c