Unfortunately the issue wasn’t solved.
After trying everything I found that the problem applies only to tag pages.
No solution so far – same code works like a charm on archive pages.
In case anybody has a solution or idea why the flexible content/repeater fields don’t work on tag pages I’d appreciate it :/
silly me – the query is the issue. no other meta_values are passed – so there are no rows. I will modify this archive with a ‘pre_get_posts’ action to modify the query.
thanks anyway 🙂
Edit: Just tried have_rows with current post->ID in the loop. Same result. Output is always “no rows”.
<?php
if (have_rows('dati', $post->ID)):
echo ":)";
while (have_rows('dati')) : the_row();
endwhile;
else :
echo "no rows";
endif;
?>