• Resolved bgbs

    (@bgbs)


    Not sure how to construct a loop to show email link from ACF email field.

    So far in loop I did this:
    [link field=email][field field=email out=field-label][/link]

    What it ought to do is output this
    <a href="mailto:name@email.com">Email Label</a>

    but it outputs relative url like so:
    <a href="http://site.com/name@email.com">Email Label</a>

    • This topic was modified 7 years, 12 months ago by bgbs.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Create Email Link ACF’ is closed to new replies.