I used the code that you posted in your original reply exactly as you wrote it, with the exception that I changed
echo do_shortcode( $shortcode );
echo apply_filters('the_content', $shortcode);
It seems to be working fine, but some of this is a little over my head so I wanted to get your opinion. Do you think there’s any problems with using apply_filters instead of do_shortcode? Will this require more processing and potentially slow down the page?
I made this switch because I’m trying to use a plugin called Simple Light Box, and it won’t work if the gallery isn’t run though the the_content filter.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!