Hi there,
I have another issue regarding the Theme Converter and ACF Fields. I basically already know why it’s not working but I have not found a solution to fix this using PG, only editing the PHP files directly.
When I want to link an email, I would create an Email ACF Field and then in PG select the link element from my website and use the ‘Display ACF’ action. In the respective field, I would type in the label of my email field and then choose ‘replace: Href Attribute (with esc_url)’.
Doing this is actually not working, because the code will change to:
<a href="<?php echo esc_url( get_field( 'email' ) ); ?>"
Problem 1: By adding the ‘Display ACF’ Action, PG actually is also overwriting/removing the html ‘mailto:’ and since I can’t edit html with the Theme Converter, I cannot add it back in without directly opening my index.php file (if I change it there, I cannot continue working with PG bc PG will ask me to overwrite any changes I made directly to the files)
Problem 2: is the ‘esc_url’, even when I add ‘mailto:’ directly to my php file, I would also have to remove ‘esc_url’, otherwise it will add ‘http:’ in front of the email.
Is there any workaround in PG that you can link email act fields? Usually I wouldn’t mind just editing my php files directly, but that also means that I can’t continue to work in PG bc it would keep asking me to overwrite my changes.