This is an extension of my Single CPT template in Genesis to display ACF custom fields including a Gallery field as a Slider tutorial. Here I discuss using Soliloquy instead of Flex slider for displaying images of ACF Pro's gallery field in a slider.
Requirement: Install and activate the Dynamic addon for Soliloquy.
Below is the PHP that checks if Gallery field is empty and if not, constructs a comma separated IDs of the images in the field and passes these to soliloquy_dynamic() for dynamically displaying a Soliloquy slider.
To view the full content, please sign up for the membership.
Already a member? Log in below or here.