• i am trying the following code:

    <h2>Galerie</h2>
    [loop type=”events”]
    [if event-date-end before today]
    [-if gallery]
    <div class=”ged-gallery”>
    <h3>[field title] ([field event-date-start][–if field=”event-date-end”] – [field event-date-end][/–if])</h3>
    [content gallery=”carousel” group=”gallery-{ID}”]</div>
    [/-if]
    [/if][/loop]

    but: the bootstrap gallery dos NOT occur. what may be the reason?

    thanks for your help,
    christian

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    The first [if] statement should be like this:

    [if field="event-date-end" before="today"]

    Other than that..

    [loop type="events" fields="id"]
      ...
      [content gallery="carousel" group="gallery-{ID}"]
      ...
    [/loop]

    I may need to update the documentation, the {ID} tag will not work without specifying it for [loop].

Viewing 1 replies (of 1 total)

The topic ‘bootstrap gallery does not work’ is closed to new replies.