as a test, did you try removing all that and just adding the test code i provided?
Sigh, that was indeed my point.
How about not using the reserved $email and instead using $theEmail like I did?
Just copy my code and try it at least. =)
Past that you’ll need to wait and see if some other good soul will help you.
I am by far an expert have you tried something like this?
<?php $theEmail = get_field('pro_email'); ?>
<a href="mailto:<?php echo antispambot( $theEmail ) ?>">
Email Me
</a>
FIXED!!!!!!!!
For some reason I did not get an email notifying me of you last post or I would have responded sooner.
Well done sir, well done.
@elliot I download from github again (https://github.com/elliotcondon/acf)
The one that says,
“Major improvement to tab and conditional logic code to improve perforโฆ”
I uploaded via ftp and made sure to overwrite all files. I then cleared my browser cache and retested. Unfortunately I still have the tab focus issue as described in my original post.
I did upgrade github, should I have uninstalled first?
it’s all good, i really thank you for helping me with it. truly.
Solved with this:
<?php $theEmail = get_sub_field('staff_email_address'); ?>
<a href="mailto:<?php echo antispambot( $theEmail ) ?>">
<?php the_sub_field('staff_name'); ?>
</a>
Hi Will, That is def. clearer though I am getting a parse error on this line.
<a href="mailto:<?php echo antispambot( $theEmail ) ?>">
cleared cache, disabled most all plugins and still no joy. ๐
@elliot I updated to 4.3.4 and still no joy. Lemme know if you want to login and check it firsthand.
That is clear as mud to me. ๐
Also, I am dealing with repeater fields so I believe I need to use get_sub_field
Hi Will,
Thanks for the efforts. The page renders correctly for the visitors. However, if I view source the email address is clearly visible as plain text. I assume that should not be the case.
Jeffrey
Nope ๐
what about something like..
Email:<a href="mailto:<?php echo get_encryptx_meta (the_sub_field('staff_email_address')); ?>"> <?php the_sub_field('staff_name'); ?></a>
I updated to 4.3.3 and still have the issue.
Yes
Conditional Logic | Select Type => Is Equal To = FOO (then show)
screen capture https://www.dropbox.com/s/x1t17boy4pbl8u8/conditional-logic-screen-capture.png
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.