Meta Box
Support Forum
Support › MB Views › Count Repeater Items
Is there a way to tell views to count the number of cloned items?
Example, in my post type I clone the section five times. I want to output "5" on the page.
Hi Chris,
You will have an array of items when retrieving the clone field value. And follow this topic to know how to count items with Twig https://stackoverflow.com/questions/17665271/counting-the-number-of-elements-in-array