Hi, I created a taxonomy for speakers and a custom field for the single image of the speaker. That works find and it uploads the image to the speaker's taxonomy fine.
I want to pull in the image of the current speaker for a particular PT. I can't figure out how to connect it.
I found this article back in 2018 saying you were fixing it to support MB Term Meta, but I don't see how it connects.
here is a video explaining more: https://share.getcloudapp.com/jkuD208L
Any guidance would be appreciated.
You can add an attribute
object_type="term" to the shortcode to get the term meta value and the setting of the field single_image like
[rwmb_meta id="field_id" object_type="term" size="thumbnail" object_id="term_id"]
For more information, please follow documents:
hi, Thanks for the reply. I went through all the links but I'm a little sure what the values are that I need to add. I added it to an image module but it doesn't pull in any image for that taxonomy. Is this shortcode supposed to create a image url?
This is what I added.
[rwmb_meta id="sermon_profile" object_type="term" size="thumbnail" object_id="taxonomy-terms"]
This is my taxonomy code
object_id must equal to a number (term ID). In your screen record, it is 16, see https://share.getcloudapp.com/v1uxo516.
[rwmb_meta id="sermon_profile" object_type="term" size="thumbnail" object_id="16"]
That worked to add it into the html. It doesn't seem to work with the image modules but I was able to get it into the Beaver Themer template. https://dev.homeservicesites.co/sermon/christmas-blessings-4/
Thanks for your help. I was wondering a couple other related things.
You have to create the custom shortcode if you want to show a group of images (field
image_advanced) in the Beaver Builder. Refer to this topic: https://support.metabox.io/topic/shortcode-will-not-show-custom-field-group/.
hi thanks. Can the term meta images from the taxonomy be automatically pulled in to one place? For instance, so that it will show all the people images of a particular post type. Not the WordPress authors, but the people from the custom field I created.