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.
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.
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.
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 /wp-content/plugins/my-custom-functionality-master.
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($37/month or $399 one-time).
Already a member? Log in below or here.
Enter your email address to subscribe to this blog and receive notifications of new tutorials by email.
Join 324 other subscribers
Please log in again.
The login page will open in a new tab. After logging in you can close it and return to this page.