Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Dynamic Tag Email Link

  • I’m using GenerateBlocks 2.0 with ACF to build staff pages, and I need to display and link their email addresses — [email protected].

    I can’t figure out how to do this with the new Dynamic tags with a Text block.

    {{post_meta key:staff_email|link:post_meta,staff_email}}

    When I use the above tag, it adds http:// in front of the email address instead of mailto:

  • Hi there,

    set the text block’s tag to a, then set dynamic content to {{post_meta key:staff_email}} .

    set dynamic link to mailto:{{post_meta key:staff_email}}.

    Here’s a screenshot for your reference:
    https://app.screencast.com/HY8ZTDgmub1u9

  • Thank you so much! I knew it was going to be something simple.

  • You are welcome   🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.