I'm trying to get the url of an image from a MetaBox (plugin) filed on an archive-page.
<?php
if ( rwmb_meta( 'field-id' ) ) {
// Get images
$img_srcset_large = rwmb_meta( 'field-id', array( 'size' => 'image-size', 'limit' => 1 ) );
echo $img_srcset_large['url']
?>
Unfortunately there is nothing displayed. Can you give me a hint how this code can work on archive-templates? Best