Home › Forums › WoodMart support forum › Error after theme update › Reply To: Error after theme update
May 19, 2022 at 12:54 pm
#377159
Elise Noromit
Member
Hello,
Please find this code in the functions.php of the child theme:
add_filter(
'woodmart_product_gallery_settings',
function() {
return array(
'images_slider' => woodmart_is_main_product_images_carousel(),
'thumbs_slider' => array(
'enabled' => woodmart_is_product_thumb_enabled(),
'position' => woodmart_get_opt( 'thums_position' ),
'items' => array(
'desktop' => 7,
'tablet_landscape' => 7,
'tablet' => 7,
'mobile' => 7,
'vertical_items' => 7,
),
),
);
}
);
and replace the code with this one:
add_filter(
'woodmart_product_gallery_settings',
function() {
return array(
'thumbs_slider' => array(
'items' => array(
'desktop' => 7,
'tablet_landscape' => 7,
'tablet' => 7,
'mobile' => 7,
'vertical_items' => 7,
),
),
);
}
);
If you have any questions please feel free to contact us.
Best Regards