• Resolved cjmclean

    (@cjmclean)


    I’m slightly perplexed about something. I have a field that has a multiple select option. When I’m setting this up, I’ve checked the display format to “Item 1, Item 2 and Item 3”. However, when I put the shortcode into the template, it comes out like this:

    Item 1 Item 2 Item 3

    The code I’m using is this:

    [if field]Field Label
    [each field] <a href="{@permalink,esc_url}">{@post_title}</a>[/each]<br>[/if]

    What am I missing?

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @cjmclean

    If you use the [each] tag to omit the default display format so you can create your own.
    If you want to use the display format you should just output the field: {@field} without the [each] tag.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Select Display Format’ is closed to new replies.