diff --git a/blocks/lcp-gallery/lcp-gallery.php b/blocks/lcp-gallery/lcp-gallery.php index fddd3c7..5c480ce 100644 --- a/blocks/lcp-gallery/lcp-gallery.php +++ b/blocks/lcp-gallery/lcp-gallery.php @@ -207,7 +207,7 @@ function build_gallery_items_html($gallery_items_data, $attributes) { // Create the HTML structure for each item, including data-responsive $html .= ' - 'JSON encoding failed', 'error_details' => json_last_error_msg()]); } @@ -324,6 +333,7 @@ function build_gallery_settings_json($attributes,$unique_class) { } + // Build the gallery styles based on $attributes and a unique class for rendering multiple galleries on the same page function build_gallery_styles($attributes,$unique_class) { $styles = "