• hi eliot,

    apparently the offset attribute does not work when looping the attachment, right? or did i make another mistake (i want to drop the first occurence in the attechment-list)


    [loop type=projekt fields=id,title,themen]
    <h2>{TITLE}</h2>
    <div class="col-md-6">

      [attached gallery count=1]<li id="{ID}" class="active"><img src='[field image-url size=medium]'>[/attached][attached gallery offset=1]<li id="{ID}"><img src='[field image-url size=medium]'>[/attached]

    </div>
    <div class="col-med-6">{THEMEN}</div>
    [/loop]

    chris

    https://wordpress.org/plugins/custom-content-shortcode/

The topic ‘use offset with attached gallery’ is closed to new replies.