Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

ACF + GP Page Hero Not Working

  • I have some Dynamic Headlines and Images inside a page hero and the text is working but the images aren’t showing and I can’t seem to figure out why.

    As you can see at the URL I provided, the title and two custom fields are showing but there should be a grid of 8 images below the text and for some reason they won’t show.

  • Hi there,

    GB’s dynamic feature is not compatible with the return value set to array at this moment, unfortunately.

  • Interesting. Like, at all or in certain scenarios? I have another website with the same exact setup and it’s working perfectly. Like this page I attached.

  • Hi Anthvale,

    Currently, the Dynamic option isn’t able to retrieve any form of array unless you specifically set it to grab “List of terms”.

    How are you setting up this Array on the page where it is working?

  • I’m really not sure and I’m quite unfamiliar with all these terms. But, these are the screenshots of the settings I’m using if that helps:

    https://snipboard.io/2ASZkD.jpg
    https://snipboard.io/qN1JA8.jpg

    Does that help?

  • Hi there,

    in your ACF Field, the Return Format for images needs to be either Image URL or Image ID. It won’t work with Image Array

  • Ok, it is working set as Image Array on the URL I’ve attached here. Should I change it? I’ll try Image URL on the website I originally contacted about.

    Thanks, Dave

  • Hold up – i may have misread – what site is it working on ?

  • On this site here it’s working. These two pages for example:

    https://www.patriottractor.com/showroom/tractors/yanmar/yt347c/
    https://www.patriottractor.com/showroom/attachments/bad-boy/grapples/

    On the website I originally contacted about, it is now working when I set ACF to Image URL.

    But, it is working on patriottractor.com when set as Image Array

  • How odd, the Array option is meant to support multiple images, which GBs current dynamic data won’t handle which is why i said to avoid. The fact its working elsewhere means i have to do some more homework lol

    Are you ok with using the URL on the current site?

  • Absolutely, it’s working great. I guess my only question is should I go back and change all the one’s set to Array on the other website? Will that break at some point? I guess it’s only 4 or so inside ACF so I may as well?

    Thank you, Dave

  • If it works then probably best to not touch it lol

    Glad to be of help

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