Hi All, I trying to create a mailto: with a variable inside a WordPress page template
The following code is a snippet from inside a loop “have_posts()”
<?php $JobContact = get_field('job_contact'); ?>
<h3>Primary Contact: <a href="mailto:<?php echo $JobContact; ?>"><?php echo $JobContact; ?></a></h3>
Here’s the staging site where this is happening: http://cackirkwa.staging.wpengine.com/employment
Thanks for any help.
If you’re behind a proxy, try disabling that (if you can).