Greetings community!
I am using date field as a repeater for each post. And can not find the way how to display selected dates as a calendar view inside of single post.
Basically, I want to have separated calendar with selected dates for each published post. I already displayed repeater field values using the following code:
// Check rows exists.
if( have_rows('date') ):
// Loop through rows.
while( have_rows('date') ) : the_row();
// Load sub field value.
$sub_value = get_sub_field('datt');
// Do something...
echo $sub_value;
// End loop.
endwhile;
// No value.
else :
// Do something...
endif;
Where “date” is the name for repeater field and “datt” is the name for subfield. But I need to display them as a calendar.
Thank you, any help is welcome.