This is the correct syntax <div class="d" data-slick='{"slidesToShow": 4}'>
And my php code $output .= '<div class="fashmag-gallery-half" data-slick="">';
I have tried but no luck, what's wrong here?
$output .= '<div class="fashmag-gallery-half" data-slick="{"slidesToShow": 4}">';