There is some confusion on our dev team on how to use metablock and then render that in a view on the frontend.
Sometimes when we need custom fields and loop value then metaview doesn't support it directly. (per our understanding)
Also the seletion for rendering doesnt allow view (see image) https://tinyurl.com/2y4zlanz
I would prefer using views to render the results but could you provide some clarification for our team. Thanks!
We can use this line of code to display the metablock under the metaview
{
"render": "view:testimonial"
}
But we need a callback function to create the output for the MBblock.
Please update Meta Box plugins to the latest versions to select View template in the Block Render Settings section, see this screenshot https://imgur.com/MsyAbOv
If you can use the PHP code to set the View template, you don't need to use a callback function to create output for the custom block. The View template works as the callback function, you can create the output with the View template properly.