Hi there,
I’m running into an issue using an ACF field (URL type) assigned to Users as a dynamic link within Cornerstone.
Setup:
- ACF field group created with URL fields (LinkedIn, Twitter, Instagram)
- Location rule: User Form = All (used to extend user profile fields)
- Values entered are clean, full URLs (e.g. https://www.linkedin.com/in/username/)
What I’m doing:
- Using Dynamic Content in Cornerstone to pull the ACF field value
- Applying it as the URL on a link (div/image wrapper)
Expected:
The link should resolve directly to the external URL.
Actual:
The output is wrapped in HTML and appended to the site URL, resulting in something like:
/author/author-name/<p>https://linkedin-url</p>
This causes a 404 instead of linking externally.
Notes:
- The field is confirmed as URL type in ACF
- The value entered contains no HTML
- Other ACF fields assigned to users (text, image, etc.) are working correctly
Question:
How can I retrieve this field as a raw URL (without HTML wrapping) so it can be used correctly as a link target in Cornerstone?
Any help would be greatly appreciated.
Thank you
