Support

Home Forums Event Espresso Premium event meta

event meta

Posted: June 5, 2014 at 6:30 pm

Viewing 3 reply threads


Lara Olson

June 5, 2014 at 6:30 pm

Is there a fast way to add the same event meta tag to all events we have entered into Event Espresso? Or do i need to open up each event and add it one at a time?


Josh

  • Support Staff

June 9, 2014 at 12:28 pm

Hi Lara,

It turns out that there is a way to add the same event meta tag with a default value to all new events. We have a code snippet in our documentation that can be added to your site’s custom_functions.php file. You’ll notice that the first value is the meta key (eg “event_hashtag”) and the second value is the meta value (eg “#eventespresso”).


Lara Olson

June 18, 2014 at 6:03 am

Thanks for the info Josh! To clarify… I’d like all events that are registered for within EE to tag the customers with the same tag in Infusionsoft. Would this be the way to achieve this without having to manually enter the event meta in all our events that are already entered into EE??


Dean

June 18, 2014 at 6:45 am

Hi,

For existing events you would need to manually add the meta tags, or via an SQL (database) query.

The script Josh linked to will only work for new events.

There is a slight issue here in that the Infusionsoft plugin also uses this function to over ride the default meta. As such adding this function elsewhere will not work.

In the short term, I think you would have to edit the function directly in the /wp-content/plugins/espresso-infusionsoft/index.php file.

I will raise a developer ticket to see if we can add in a filter hook to both the core and infusionsoft addon to make it easier to modify.

Viewing 3 reply threads

The support post ‘event meta’ 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