Trouble displaying all values of a repeating image field
-
I have a custom image field that allows multiple instances (repeating).
I’m trying to display ALL values of this repeating field within my
single-{custom-post-type}.php
template file. I need to display the values as<img>
tags with the image urls in the src—no separators needed.I’m following the direction of the documentation, here: https://wp-types.com/documentation/functions/#image, but I can’t seem to get any of the images to show.
I’ve stripped the code down to this:
types_render_field('gallery-images');
But nothing is showing in my page source. No
<img>
tags, no image urls, nothing.Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trouble displaying all values of a repeating image field’ is closed to new replies.