Does it shift anything if you adjust $images = get_field( 'slider_principal_banners', 4 ); to $images = get_field( 'slider_principal_banners' );?
Neither the images nor the URL field will work for me otherwise on my end otherwise. If you’d like to set a max/min of four images, you could set that within the ACF field settings themselves rather than that line.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users