Home › Forums › ACF PRO › Multiple ACF Galleries via Shortcode › Reply To: Multiple ACF Galleries via Shortcode
i think it is possible,
but i also think that you need to create your own shortcode-plugin. because gallery is a array;
and because you use repeater it will became even more difficult than without. because you have a array(gallery) inside a array(repeater). but it should still be possible.
for easier work you may need an additional field for each gallery that is used as identifier for your shortcode.
you can work with get_field/get_sub_field inside your shortcode plugin if you do it correct.
easier way would maybe be:
work with flexible content field, that contains a wysiwyg and a gallery layout, and create a frontend layout for it.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.