Support

Home Forums Events Calendar Add-on EE4, Custom Shortcodes in Email Templates

EE4, Custom Shortcodes in Email Templates

Posted: June 9, 2016 at 2:44 pm

Viewing 3 reply threads


Vaughn Stewart

June 9, 2016 at 2:44 pm

Hi there,

I am trying to add some custom meta info in an admin email for new transactions on the site, but I’m getting an error when trying to add my own shortcodes to the email template in admin.

Is there a way around this?


Tony

  • Support Staff

June 9, 2016 at 2:57 pm

Hi there,

Meta info from where? If the event you can use the [EVENT_META_*] shortcode.

With your own shortcodes you need to register them within the EE Messages system as the shortcodes there are not ‘standard’ shortcodes. I have previously posted on how to add your own shortcodes here:

https://eventespresso.com/topic/venue-against-each-date/#post-177488

With an example of some custom shortcodes here:

https://gist.github.com/Pebblo/e87cc8e30c4848dcdfe2


Vaughn Stewart

June 9, 2016 at 3:36 pm

Awesome, thank you. No, not the event. A custom post type.

Thanks a bunch!


Tony

  • Support Staff

June 10, 2016 at 1:58 am

You’re most welcome 🙂

Viewing 3 reply threads

The support post ‘EE4, Custom Shortcodes in Email Templates’ 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