Heya!
I’ve been step-by-stepping the following video (awesome asset btw):
I’ve successfully been able to target and pull in my repeater, using {{dc:acf:post_field field="elevations"}}
Per the video, theoretically the following should work to pull in content from the repeater’s fields:{{dc:looper:field key="in_image"}}
, however I’m finding that it doesn’t appear to. There is only one subfield in the repeater itself.
For a bit broader scope, my intention is to pull the URL to a photo as a custom background image which is served via a CDN. The full snippet I’m attempting to use in the HTML box for this item is <img src="{{dc:looper:field key="in_image"}}">
Other troubleshooting steps:
- Tried variations such as {{dc:acf:field field=""}} just in case, with no luck.
- Checked for theme/plugin updates, also just in case (sometimes I find that an outdated version of X/Pro or ACF will cause problems with loopers)
Can you shine any light on what I might be stumbling over here?
UPDATE
I did test to make sure that the overall looper setup above works. It turns out that it does, and something about dropping it into an <img>
tag source breaks it.