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)
The topic ‘Alternative url not working’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users