Duplicate Taxonomy Term
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
I've asked if this feature exists in the plugin forum post here, (it does not) and you suggested creating a feature request:
Forum Post
Is your feature request related to a problem? Please describe.
The plugin cannot duplicate individual taxonomy terms. Currently it can duplicate an entire taxonomy (and many other things!) but not a specific taxonomy term.
Describe the solution you'd like
I'd like the plugin to be able to clone/duplicate individual taxonomy terms.
Why do you think this feature is something we should consider for the Yoast SEO plugins?
Wordpress is extremely extensible, and with plugins such as ACF, taxonomy terms can be configured in many useful ways. Complex configurations are possible, and the ability to duplicate a term to kick-start the creation of another term would be very helpful.
Additional context
Here is an example of a (real) use case. In a website for a theater company, information is organized by Show, and Shows are grouped into Seasons. Each Season, a dozen new shows are produced.
Custom Post Type: Show
For each Show, dozens of fields exist, for things like title of show, playwrite, director, choreographer, cast members, and on and on. The complete Show post is used as an online version of the show's program brochure (think "Playbill"), as well as part of an archive of past Shows. Many of the items included in a Show post are the same for each show in a season.
Custom Taxonomy: Season
Shows are grouped by Season, and each year (Season) the theater puts on a dozen different shows. Each Season, there are Season-specific things, such as the board of directors, season sponsors, advertisers, and many other items. Some of these items are shown in the display of each individual Show post. An index page of the Season taxonomy term displays some of the information about each of the Shows in that Season, each with a link to the more-detailed, specific Show post.
Taxonomy Terms: Season X, Season Y, etc.
Each Season, many items change, but many also are the same as last season. For example, new members join the board of directors, but many remain on the board from the previous Season; new advertisers are added, but many remain from the previous Season.
Using ACF, templates are created which pull information from each show to display on that Season's index page. Likewise, in each individual Show post, information is pulled from the Season Taxonomy Term and displayed in the Show details.
Notes:
The Wordpress repository has a plugin made specifically to clone taxonomy terms:
Duplicate Taxonomy Term
It has very few installs, and has not been updated recently. I don't know if it still works, and it would be much better to not need to install two different plugins just for "cloning" tasks.
Thanks for considering this request!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by locating the existing functionality that duplicates an entire taxonomy and determine how individual WordPress taxonomy terms are represented and handled; done means duplicating a selected term, including its configured data, without requiring a separate plugin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100