Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
I’m currently facing the following problem with ACF (Advanced Custom Fields) and the Page Builder widgets:
When I enter the shortcode of ACF into a URL field of any PB widget, the entered shortcode text is taken as the link instead of the value of the ACF field.
Example:
Page Builder widget: “SiteOrigin Button”
Destination URL Input: [acf field=”website”]
The Output after saving the page: http://[acf%20field=website]
The same problem also exists when entering the shortcode in the editor and within a href=”” or src=”” tag. So anywhere related to links doesn’t work.
Hi Sfriedle,
Unfortunately, the link form field doesn’t currently support shortcodes. I’ve logged this as a feature request.
Regarding your last reply, that’s odd. Does this issue occur with a non-ACF shortcode?
Hi Alex,
Thanks for your fast reply.
I’ve tested the last issue with different shortcodes and it only occurs with the ACF shortcode.
Hi Sfriedle,
Thanks. Are you able to use that shortcode on a non-SiteOrigin powered page?
Hi Alex,
I still face the same issue on a non-SiteOrigin powered page.
Example:
Example:
Hi Sfriedle,
What is outputting when viewing the page on the frontend? The provided HTML or nothing?
Based on the shortcode not working while using the base editor, I suspect the issue you’re facing is a general issue with the shortcode you’re using rather than anything specific to SiteOrigin Page Builder.