Duplicating Events in The Events Calendar

The Events Calendar by Modern Tribe has been our go-to calendar for a few years now (ever since the Code Canyon days) and here’s a quick tip that might make your life a little bit easier.

If your events are complicated (requiring lots of data-entry time) and they occur multiple times throughout the year but they occur sporadically to where a recurring event won’t work, one plugin and a five minute install (max) will save you a lot of time.

To Tri.be’s credit, the Events Calendar Pro uses standard Wordpress custom post types for the events, venues and organizers—meaning we can simply duplicate those posts, then edit only the data points (presumably date, possibly time) that have changed.

[blockquote_left] Post Duplicator:”This plugin was created to make an exact duplicate of a selected post. Custom post types are supported, along with custom taxonomies and custom fields.” [/blockquote_left]

Unfortunately, WordPress doesn’t offer that out of the box but there’s several plugins out there which accomplish this basic task.  The one we used with great success is called Post Duplicator. Don’t let the small number of downloads fool you—it’s the new kid on the block.

The plugin description meets our requirements exactly—in this case, the events are custom post types, the event categories are custom taxonomies and the custom fields are things like the event cost, or even other fields not included that we’ve added through the admin interface.   This plugin was made for us—and it couldn’t be easier to use.

Simply install and activate, then go to the list of events. Mouse over the event you’d like to duplicate and the edit navigation will pop up under the post title —click ‘duplicate event’ and you’ll be on your way.

One note — if you’re concerned about SEO, you’ll want to watch your permalinks (URLs) – Post Duplicator will add a “-2” to the URL (and if you duplicate a post 6 times you’ll have “-2-2-2-2-2-2” in the last event’s URL).  It’s an easy fix, just edit the permalink to something more SEO-friendly (like the title and date of the event) and you’ll be on your way.

Word of caution: While Post Duplicator is the plugin to use for Events Calendar Pro, it does not work for copying custom field groups created with Advanced Custom Fields.  I learned this the hard way—and the problems it creates aren’t visible on the surface (in other words, it appears to work just fine until you get a bit further along).  For that, take Elliot’s advice and use Duplicate Post.  Clearly this is a space where you should exercise caution and backup your database before trying for the first time.

8 Comments

  1. Restaurant Lynchburg Va on May 22nd, 2018 at 8:08 am

    Great. Thanks for this article. Duplicating the post worked like a charm. Saved me lots of time with our live entertainment calendar. – Brad

    • john on May 22nd, 2018 at 12:56 pm

      Glad to hear it, Brad – thank you for letting us know!

  2. Nathan Mixter on November 29th, 2017 at 8:03 pm

    Fix Duplicates also works good for cleaning up venues.

  3. Madrid4Gays admin on March 19th, 2017 at 12:16 pm

    Muchisimas gracias, justo lo que buscaba. Ya estaba empezando a desesperarme ;).

    Saludos!

    • Madrid4Gays admin on March 19th, 2017 at 12:17 pm

      I wrote in spanish, sorry. I said: thanks a lot, i was going crazy about this feature.

  4. Matthew on December 13th, 2014 at 9:16 pm

    Great!

  5. Adam Bloomer on November 28th, 2013 at 3:32 am

    Hi,

    Just what I was looking for. My only question is, if Elliot of Advanced Custom Fields fame suggests using “Duplicate Post” plugin in conjunction with Advanced Custom Fields instead of “Post Duplicator” then why wouldn’t you use “Duplicate Post” for The Events Calendar as well?

    Adam.

    • john on December 3rd, 2013 at 10:05 am

      I was surprised as well. It has to do with the way the custom post types are set up within those two plugins (ACF/EC), the short story is each post duplicator plugin operates slightly differently (copies/ignores different parts of the custom fields attached to that post type) so it’s a case of finding the right tool for the job. It’s not as simple as it sounds…

Leave a Comment