• Resolved svenol

    (@svenol)


    Hi Eliot,

    I have custom ACF field (relational posts). In settings I can select (single selection or allow multiple choice for this field).

    In shortcodes single selection field works fine (display post title) for example:

    Project type: new

    For multiple choice it’s display this (post IDs – not titles):

    Project type: 467, 234

    but should display field values (post titles):

    Project type: new, type2

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

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

    (@miyarakira)

    Hello,

    For a relationship field, you can use [related] to loop through single or multiple selections. Please try the following with the newest plugin update:

    [related field_name]
      [field title]
    [/related]
    Thread Starter svenol

    (@svenol)

    thanks – it works:)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘ACF relational posts and multiple choice’ is closed to new replies.