Hot answers tagged email
I think the problem is echo vs return, i.e. that you are using the_field instead of get_field. What you're trying to do is similar to this: antispambot( echo( 'firstname.lastname@example.org' ) ) but echo returns nothing. Please try: <?php $email = antispambot( get_field( 'queries_e-mail' ) ); ?> <p> <a href="mailto:<?php echo $email; ...
Only top voted, non community-wiki answers of a minimum length are eligible