Support MB Term Meta Display custom terms image_advanced on page frontend Reply To: Display custom terms image_advanced on page frontend

#4845
Anh TranAnh Tran
Keymaster

I got it now. Looks like that's the same problem in the new topic. As I said in that topic, depending on your code, you should get the term ID somehow, and use the function get_term_meta to get the uploaded images.

And as the documentation says, the value stored for image_advanced field is an array of image IDs. You need to use a helper function like wp_get_attachment_image_url() to get the image URL.

Here is a sample code:

https://ghostbin.com/paste/vny57