-
Use case: my custom field/meta key is
location_phone_number
holding data in the format of 123-456-7890.
I’m using Dynamic Tags to display this and create a clickable link, but I need to prepend “tel:1” to the link output so it’s linked ashref="tel:11234567890"
.Modifying the Dynamic Tag hasn’t worked so far, but I could just have the syntax wrong.
{{post_meta key:location_phone_number|link:post_meta,location_phone_number}}
-
Hi there,
Try to use the button block instead of text.
and you can set dynamic content and dynamic links separately, and set the link destination to
tel:{{post_meta key:location_phone_number}}
like this:
https://app.screencast.com/519ZZ7krO2izd -
That did the trick – thanks!
-
No Problem 🙂
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.