A similar question to what I posted a few days ago regarding structured fields. I’m trying to search the entire site and return the latest modified structured fields under a certain name.
$site->index()->pluck('STRUCTURED FIELD NAME HERE')
The above code returns the structured fields but groups the content as one.
I’m trying to display a certain value from the structured field. Now I’ve managed this on the front end by using a foreach loop with
toStructure()
I’m trying to display the information in a panel widget which i think may be why I’m having these issues.
Anyone came across this before?