9.4 breaks carousel on tiled galleries
-
I’m creating a gallery with a shortcode in template, using Advanced Custom Fields. Tiled galleries and the carousel feature are enabled by default. Works great in 9.3.1, but in 9.4 the gallery images link to the attachment page. Here’s the code I’m using:
<?php $image_ids = get_field('gallery'); if( $image_ids ) { $images_string = implode( ',', $image_ids ); $shortcode = sprintf( '[gallery ids="%s"]', esc_attr($images_string) ); echo do_shortcode( $shortcode ); } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘9.4 breaks carousel on tiled galleries’ is closed to new replies.