I currently have a notification set up to automatically send an email to enrolled users for an ILT class one day before their event starts. This notification includes the eevent_date] shortcode. That shortcode appears to have a bunch of extra information in it, as well as line breaks before and after the actual date/time information.
Example:
Text in notification -
“We look forward to seeing you on gevent_date].”
Text as it appears in email -
“We look forward to seeing you on
10/25/2023 6:00:00 pm - 10/25/2023 7:00:00 pm (your time GMT -05:00 American/Chicago)
Location:### Road, City, State Zip, COUNTRY
.”
I have a couple of questions here.
- Why is there so much extra information in this shortcode? I can understand the time and time zone being included (though I would argue that those should be separate shortcodes), but the location is a completely separate piece of information from the event date. Is there a different shortcode that I should be using for just the event date?
- Why is there not a space between “Location:” and the location information? This mistake makes my notification look unpolished, and it’s not something that I can fix.
- Why are there extra line breaks in that shortcode, and how do I get rid of them? I would much rather that I add line breaks into the notification where I want them than they are included in the shortcode itself. It makes formatting the notification extremely difficult.
- Is there a way to send a test notification to myself so I can see how the shortcode will appear in the email, since this shortcode includes formatting that I’m trying to account for?
Any advice is greatly appreciated! Thanks!