[Resolved] Can headline block pull data from ACF options page?

Home Forums Support [Resolved] Can headline block pull data from ACF options page?

Home Forums Support Can headline block pull data from ACF options page?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2256677
    Elvis

    Hello,
    I am making a Contacts Options page with ACF Pro, the reason, I want to have one location for all the contact info of the insitution, that I can then later pull from wherever. And If there are updated to data, I do it in one place.

    Headline block does not seem to see the options post type. Am I missing something, or is it a missing feature? ๐Ÿ˜€

    best,
    E

    PS
    can be done via shortcode like so [acf field=”field_slug” post_id=”options”] but would be neat if GB could do it UI way.

    #2257400
    Ying
    Staff
    Customer Support

    Hi Elvis,

    I don’t think it will work.
    It requires the equivalent of a $post_id to be part of the get_fieldrequest.
    The GB Block element would expect the Custom Field to exist on the actual page or post.

    #2257495
    Elvis

    Yeah, I forgot options pages are not post types.
    Decided to make a CPT instead.
    Looks almost the same as options page, and its available to Headline Dynamic Data.
    Thanks though.

    #2258135
    Ying
    Staff
    Customer Support

    Yes, I think CPT is a better choice in this case ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.