Forum Replies Created
-
AuthorPosts
-
David Newton
ParticipantThat works perfectly, thank you.
Is it possible to do the same with the Background field in some way?
David Newton
ParticipantTo be clear, it was working just fine as you described in your most recent response, but then inside of a group, we can't get the same thing to work.
We've tried quite a few variations on what you wrote above and with adding "clone." in various positions, and nothing has quite worked.
The only thing that loads anything at all is {{clone.single_image_psweo3wlxf}} but that is only loading the image ID number.
David Newton
ParticipantThat did work, thank you. Is there something different that needs to be done when using groups / cloning? For all the other fields, we're able to get the right results, but with the images it's not working.
Thanks!
David Newton
ParticipantI'm still not getting anything back from that.
The field ID is: single_image_psweo3wlxf
So, I have the following under Settings -> Render Options -> Code for that field group:
{% set my_image = mb.rwmb_meta( 'single_image_psweo3wlxf', '', post_id ) %} {{ my_image['sizes']['medium']['url'] }} <pre> {{ mb.print_r(my_image) }} </pre>It doesn't return anything at all right now.
David Newton
ParticipantIt seems like maybe I'm still misunderstanding, though. This is what I have based on I understand you to be saying:
But, the result I get is this when I add that block:
David Newton
ParticipantThat's excellent! Thank you for your help with that specific topic and even more so for pointing me to the correct part of the documentation for such things going forward.
-
AuthorPosts