• Resolved yonael

    (@yonael)


    Hello Eliot:

    I am trying to format the output of the following shortcode into a 3 by 3 gallery. As is, i get a single column output of visiting scholars thumbnail, title and home_instituion. However, when i insert the [attached gallery column=”3″] shortcode before the [field thumbnail], all I get is a one column list of the title and home_institution with no thumbnails. Am I missing something?

    [tab title="Visiting Scholars"]
      [loop type="People" taxonomy="positions" value="visiting_scholar"]
          [field thumbnail]
          [field title]
          [field home_institution]
      [/loop]
    [/tab]

    thanks,
    Yona

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

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

    (@miyarakira)

    Hello,

    In this case, I believe the columns parameter can go on the [loop].

    [loop type="People" taxonomy="positions" value="visiting_scholar" columns="3"]

    This should display each post (thumbnail/title/fields) in a column, 3 per row.

    The [attached gallery] is used to show images from a gallery field, which can be enabled from plugin settings.

    Thread Starter yonael

    (@yonael)

    Eliot: thank you so much for the prompt response. Yona.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Generating gallery of thumbnails’ is closed to new replies.