Duplicating Events
The Duplicator module adds a Duplicate row action to every SportsPress post type, including events. This lets you quickly create a copy of an existing event with all its data intact.
Requirements
The Duplicator module is part of SportsPress Pro. It is loaded when the sportspress_load_duplicator_module option is set to yes (the default).
How to Duplicate an Event
Go to Events in the WordPress admin sidebar.
Hover over the event you want to duplicate. A set of row action links appears below the title.
Click Duplicate.
SportsPress creates the duplicate and redirects you to the Events list screen.
The Duplicate row action appears between the Quick Edit and Trash links (it is inserted at position 2 in the row actions array). The action is only shown to users who have the publish_sp_events capability.
What Gets Copied
The duplicate is created with wp_insert_post using the following data from the original event:
Post content — The event description/recap text.
Post excerpt
Post status — The new post has the same status as the original (published, draft, etc.).
Post date — The same date and time as the original.
Post author — Reassigned to the current logged-in user.
Post format, parent, password, mime type, menu order
All post meta — Every meta key/value pair is copied, including
sp_results,sp_players,sp_team,sp_format,sp_day,sp_minutes,sp_timeline, and all other event meta.All taxonomy terms — Leagues, seasons, venues, and any other taxonomies assigned to the original event are applied to the duplicate.
A _sp_original meta key is added to the duplicate recording the ID of the original post.
New Event Title
The duplicated event's title is the original title with (Copy) appended. For example, an event titled Arsenal vs Chelsea becomes Arsenal vs Chelsea (Copy).
If the duplicate is published or scheduled, WordPress generates a unique slug for it automatically.
After Duplication
After the duplicate is created you are returned to the Events list screen. Open the new event to update the date, teams, results, or any other details as needed.
