Support

Home Forums Event Espresso Premium add shortcode to ticket advance setting

add shortcode to ticket advance setting

Posted: April 21, 2021 at 9:27 am


soundpress

April 21, 2021 at 9:27 am

I need add short code to ticket advance setting like this: Thanks.
May 8th 9AM, Face to Face Prayer Board.
[ESPRESSO_EVENT_ATTENDEES ticket_id=2486]


Tony

  • Support Staff

April 21, 2021 at 9:56 am

Hi there,

Can you add a screenshot of the specific section you are referring to, please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


soundpress

April 21, 2021 at 9:58 am

https://cincinnatiemmaus.org/events/face-to-face-5-prayer-board-may-4th-2021/
from this link, click the ticket->details.


soundpress

April 21, 2021 at 10:02 am

http://cincinnatiemmaus.org/wp-content/uploads/2021/04/Face-to-Face-5-Prayer-Board-May-4th-2021-–-Cincinnati-Emmaus-Community.png


soundpress

April 22, 2021 at 7:27 am

Any update here?


Tony

  • Support Staff

April 23, 2021 at 6:20 am

Are you adding that shortcode to every ticket on every event?

If so you can do it via a hook using something like this:

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

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

With the above, you don’t add the shortcode into the ticket description itself as the code will do it for you.


soundpress

April 26, 2021 at 8:04 am

Thanks. It works!

The support post ‘add shortcode to ticket advance setting’ 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.

Do NOT follow this link or you will be banned from the site!