Updated on December 04, 2020
In the past, we published a tutorial on how to output images of a Gallery-type custom field added using ACF Pro as a responsive slider/carousel using Flickity here.
Install and activate ACF Pro.
Add a field group having a Gallery type of field and set it to appear on posts.
Let us register a custom image size for the images in our slider.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Custom image sizes
add_image_size( 'slider_image', 480, 300, true );
Save changes and activate.
Edit your posts and upload/select images in the Gallery field for each where needed.
We are going to set a condition on the Section in which images from the Gallery field will be pulled such that it will be output on the front end only the gallery field has been populated.
Register custom handles for Splide's CSS and JS so they can be loaded on demand.
Install and activate My Custom Functionality plugin.
Connect to your hosting account using a FTP client and navigate to site’s
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $499 one-time).
Already a member? Log in below or here.