Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hey,
I can display all my fields with “$instance[‘example’]”. But how can i display the fields from my repeater?
thanks
Hi,
As in, the repeater values? If so, they’ll be stored in an array. If your repeater id is example and each item has a field with an id of name, to fetch the first repeater item you would use:
The [0] being the repeater placement rather than a unique id. I would recommend using foreach to loop the repeater fields. For more information, please refer to this page.