5 Comments
  1. As long as the field exists, it works. If it’s just spitting out strings it’s because you’re doing it wrong. ACF has very clear and easy to follow example instructions for every field type. Just go and look at the image field documenation to see what you’re doing wrong.

  2. It returns the array of images. You still need to do something with it. Check the image element settings.

  3. If you need it to return a url (like src=“/image.jpg”), you need to make sure that the return format is set to URL

  4. I use a work around and use the Gutenberg gallery as the only content for each post in that editor then use acf for the rest. Then in my page builder (bricks) use Shortcode for each field and the post content which shows a gallery.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer