Forum Replies Created

  • Just in case anyone is interested in this – I managed to hack together a solution.

    I added the following code to the Divi functions.php file to create a simple shortcode. You then just add the shortcode [contact_email] into the code block in Divi:

    add_action('init', function(){
        add_shortcode('contact_email', function(){
            return '<a href="mailto:' . get_field('contact_email') . '">E-Mail</a>';
  • Hi there,

    Did you ever solve this? I’m having the exact same issue trying to get a simple link to work.

Viewing 2 posts - 1 through 2 (of 2 total)