Product galleries

Product galleries that have syncing sliders needs extra step make them work flawlessy after importing into existing site. Regarding to Product gallery with thumbnails you need to add ID of these 2 query loops to code snippet.

  1. Copy IDs of these 2 loops inside sliders

  2. Go to Code Snippet plugin to "Get product gallery image IDs" and paste them here:

add_filter( 'bricks/posts/query_vars', function( $query_vars, $settings, $element_id ) {
    // Define an array of element IDs for which the filter should apply
    $target_element_ids = array('ygskej', 'edsgfi', 'nvlcty', 'grfmlt', 'mzflmn', 'teypju', 'mmyxbc'); // Add your element IDs here

Each ID should be wrapped inside ''. Example: 'ygskej'

Last updated