Email Address from Dynamic Data
-
Thanks for the recently-added ability to read / format email addresses via dynamic data. However, the feature isn’t working quite right.
REPRODUCE:
1. In ACF, add an Email-type field named ‘email_address’. Save.
2. Create a new post. In the ACF properties of the post, assign an email address to the new field. For example, assign ‘[email protected]’.
3. Add a Meta getter to the post, setting it to use the ACF field. Assign ‘Mailto link’ to the ‘Add Data Conversion’ property.
4. Save the post and open it on the front end. Test the link.RESULT:
The ‘mailto’ code is added correctly. However, the email address ends up having an ‘http://‘ before it:
http://[email protected]The full link ends up being
mailto:http://[email protected]NOTE:
I’ve also tried doing the same thing using just a plain ACF text field and it has the same issue.
The topic ‘Email Address from Dynamic Data’ is closed to new replies.