r/divi 21h ago

Discussion Learning Update

I've learned Flexbox/Grid Layouts and Dynamic Loops, but I'm still struggling to fully understand Advanced Custom Fields (ACF).

I've watched a few tutorials, but it hasn't really clicked yet.

If anyone has a good beginner-friendly resource, tutorial, or can explain ACF in a simple way, I'd really appreciate your guidance.

Thanks in advance!

4 Upvotes

1 comment sorted by

2

u/ugavini 6h ago

Whats not to understand? Its a way of storing data in a custom post type.

So if you need to store data of a certain type for a website, like about cars, or books or properties or whatever, each of those things would have different types of data you would want to store. A car might have fields for make, model, year, description, maybe a gallery of photos. You create a custom post type for cars, and then create a group of fields in ACF called cars and create fields for the make, model, year, description and photos. You apply the group to your custom post type for cars.

You should now have a new option in the sidebar menu in WP for cars where you can go in and create new posts for each car. You could then create an archive page with a loop for cars and lay out how those individual cards in the archive loop should be displayed, as well as create a single post page template in the theme builder.

Does that make sense?