Support

Home Forums Event Espresso Premium [EVENT_META_*] not working for me

[EVENT_META_*] not working for me

Posted: December 13, 2021 at 3:50 pm

Viewing 9 reply threads


ianjpl

December 13, 2021 at 3:50 pm

Hello! I’ve create a custom field in my event called [EVENT_META_*URL] with a URL in the value without the protocol. I have then created a custom email template and added a hyperlink using that custom field as the URL. However, when I receive the email, the text is blue, but is not an active hyperlink – just blue text. I wonder if I’ve missed something? thank you!

I don’t see a way to attach screenshots…maybe after I submit the post.


ianjpl

December 13, 2021 at 3:53 pm

https://snipboard.io/qRwFjr.jpg

https://snipboard.io/Tm5D2a.jpg


ianjpl

December 13, 2021 at 3:54 pm


ianjpl

December 13, 2021 at 3:56 pm

Oh darn, that was the wrong screenshot. The tag is actually correct for the CLICK HERE TO JOIN hyperlink. 100% sure. sorry


Tony

  • Support Staff

December 13, 2021 at 4:04 pm

Hi there,

The [EVENT_META_*] shortcode takes the custom file name as a parameter so its looks more like this [EVENT_META_*{custom-field-name}].

Your custom field name is EVENT_META_*URL, which means your shortcode would look something like this:

[EVENT_META_*EVENT_META_*URL]

However, that also may not work as the EVENT_META_* string may be stripped by the code searching for the shortcodes.

Change your Event meta custom field name to just be something like webcast-url

Then your shortcode would be:

[EVENT_META_*webcast-url]

That should work fine.


ianjpl

December 13, 2021 at 4:33 pm

Oh right, I didn’t think of that. URL is not unique enough. Thank you! I will try that, cheers


ianjpl

December 13, 2021 at 5:08 pm

Oh, I just realised that I was erroneously adding EVENT_META_* in the custom field, as you’ve clearly pointed out above. [fp] thanks ๐Ÿ™‚


Tony

  • Support Staff

December 14, 2021 at 3:56 am

You’re most welcome ๐Ÿ™‚

So after changing the field name and updating the shortcode to match I assume it worked?


ianjpl

December 14, 2021 at 4:03 am

Yes, working perfectly now. Thanks Tony!


Tony

  • Support Staff

December 14, 2021 at 4:16 am

Great, just checking.

Any further issues just let us know.

Viewing 9 reply threads

The support post ‘[EVENT_META_*] not working for me’ 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