This was solved by ACF Support. Here is the code if anyone is interested:
<?php
$rows = get_field('blog_style_gallery');
$row_count = count($rows);
$i=1;
?>
<?php
echo "Slide: ". $i." of ".$row_count." Rows";
$i++;
?>
This was solved by ACF Support.
Here is the code if anyone is interested:
<?php
$chckbox_value = get_sub_field('blog_style_gallery_options');
if( $chckbox_value && in_array( 'border', get_sub_field('blog_style_gallery_options') ) )
{
echo "border test";
}
?>
It’s not a true/false field, it’s a checkbox field… because I want to have several options to modify my images (like border, remove link, remove hover effect, etc).