- This topic has 1 reply, 2 voices, and was last updated 4 months ago by .
I have an image_advanced custom field on a CPT with multiple images associated with each post.
I’m trying to retrieve the url of the first image in the array using the rwmb_meta shortcode to use as a featured image but I’m not sure how to do it.
For single image fields I see we can use something like this:
<img src="[rwmb_meta id='product_images' size='full' attribute='url']">
Is there any way to do the same for the first image in an image_advanced field? Or will I need to create a custom shortcode?
Thanks in advance!
- You must be logged in to reply to this topic.