Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Types Multiple Image Instances

$
0
0

I setup a custom field that is an image slugged "press-image". I also set this field up so that it can have multiple instances. I can not figure out how to loop through and echo the url for each. I couldn't find any documentation on looping through multiple instances.

My intended output would be:
<a href="#" class="img" style="background-image:url(URL OF IMAGE HERE);"></a>
<a href="#" class="img" style="background-image:url(URL OF IMAGE HERE);"></a>
<a href="#" class="img" style="background-image:url(URL OF IMAGE HERE);"></a>


Viewing all articles
Browse latest Browse all 20145

Trending Articles