tim wrote: Ian,
Glad you sorted this out and high five for thinking of the CSS trick to inject the envelope.
Now that it's working, I wanted to say that using the <cms:cloak_email> tag directly might be better for your use case.
The email_guardian tag was meant to protect users from themselves. You wrap it around content that the client is entering in case they might put in an email address without understanding the dangers. In your case you know it's an email, so there's no need to add the extra layer of the email_guardian.
- Code: Select all
<i class="bx bx-envelope"></i>
<cms:cloak_email email="<cms:get_custom_field 'header_email_link' masterpage='globalstwo.php'/>" title="Email: <cms:get_custom_field 'header_email_link' masterpage='globalstwo.php'/>" />
Thank you, I did try the cms:cloak_email method first going by viewtopic.php?f=4&t=7044 but it would not show the email address using shortcodes, all I could think was that shortcodes did not like being in my includes/header.php file as tried all different ways to get the email address to show but wouldn't work and would not show the email address on the front end