Dynamic content in a global block

Hi!

I need help with reaching a ACF field in a global block.
I have my ACF field laying on a specific page for editors to easily manage content, and on that page there is no problems with reaching the ACF field.

But when trying to reach the same dynamic conent (ACF field) inside my global block - it dosent work. Is there anyway to add a string to the dynamic shortcode to tell that the field is on a specific page?

Thanks in advance!

Hello Victor,

Thanks for writing to us.

In case you want to access the ACF filed value of a specific page through the dynamic content code, You need to select the ACF Post Field —>enter the Meta Key Name, Select the Specific Post then enter the Post ID/Page ID. Please have a look at the given screenshot.

Custom-Test-Global-Blocks-Pro (2)

{{dc:acf:post_field post="1896" field="enter_skill"}}

Please have a look at the above code where my meta key is “enter_skill” and Page ID is 1896. You may edit this code as per your key and ID.

Hope it helps
Thanks

Hi!

That looks like something that would work, but how do I know what my Page ID is? Been trying to figure that out without any luck.

Hey Victor,

There are so many ways to find your page ID, please see the following information.

Hope that helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.