• horizzons

    (@horizzons)


    Hello,
    Thank you very much for this plugin!

    I have an issue trying to display ACF fields values in Divi Theme Layouts – Footer – as dynamic content fields:

    1) I created an option page through your plugin;

    2) In Advanced Settings I associated the page as SAVE TO: Post Object, and Post/Page = Layout: Footer1, the Divi Layout I want to use as global footer;

    3) The ACF custom fields Form appears in the layout page and it updates the values accordingly with changes made in the options page;

    4) However, somehow the custom fields appear in the divi layout dynamic content fields, but the values do not appear in the front end, just empty;

    Can you please help in this issue? Why the ACF field values do not appear?

    Thank you very much for your time
    Jorge

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Huebner

    (@hube2)

    Sorry, but it is unclear to me what you are doing, I don’t know anything about Divi themes or the things that you mention.

    I guess let me rephrase the questions because I am having similar issue, how can you use dynamic content from the options page in Divi Builder/Theme

    Plugin Author John Huebner

    (@hube2)

    I don’t know the answer to that. To get values from the options page you need to supply the correct ID to get the values from. This could be “optons” or the post ID of the options page created by this plugin or some other custom values.

    So the question is… How can you supply the correct post ID in divy builder to allow it to get the right ACF field value?

    I cannot answer this question, I do not use themes like this or any other admin page builder when I use ACF. I use code.

    Thanks, so there is no way to create a shortcode to display that data anywhere on the site, only through code to the template or something similar, I know you can create a similar process through the Rest API, but let me know if there is a way to pull it through a [shortcode], Thanks

    Plugin Author John Huebner

    (@hube2)

    ACF has a shortcode, but it is only usable for the simplest of field types. https://www.advancedcustomfields.com/resources/shortcode/

    More complicated fields would require custom code even to use them as a shortcode that ACF does not provide and not something that I’m going to add to this plugin.

    While I’m glad to help, this question is really not about this plugin. The only thing that this plugin does is exactly what calling the function acf_add_options_page() https://www.advancedcustomfields.com/resources/acf_add_options_page/ or acf_add_options_sub_page() https://www.advancedcustomfields.com/resources/acf_add_options_sub_page/ do except that it gives you an admin page to set them up.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ACF Options Page Admin and Divi Dynamic Content’ is closed to new replies.