Support

Home Forums Event Espresso Premium bulk category changes possible?

bulk category changes possible?

Posted: December 8, 2014 at 2:50 pm

Viewing 1 reply thread


tamara smith

December 8, 2014 at 2:50 pm

I have just added a new category. Is there a way to select all the events I’d like to add to that category in bulk? Or do I have to click on all 45 individually and add them to the category?


Sidney Harrell

December 8, 2014 at 4:58 pm

I don’t believe there is an easy way to do it in the admin. You could do it directly in phpmyadmin, but I think the best option for you would be to put a script like this one: https://gist.github.com/sidharrell/203414222d119d77b971 into a custom functions plugin, so you would put in the category id and the list of event ids into the script, activate it and then deactivate it so that it only runs once. You could add in some error checking and logic so that it won’t accidentally insert the rows twice, etc, depending on whether this is something you will do more than once. Please make a DB backup before doing something like this that acts directly on the DB, just in case.

Viewing 1 reply thread

The support post ‘bulk category changes possible?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso