• Resolved codemonkeynorth

    (@codemonkeynorth)


    Hi,

    is it possible to output a repeater inside flexible content?

    this seems to break:

    
    [flex flexible_content]
      [layout icon_list]
        <b>Title:</b> [field title]
        [if field=list]
        <ul>
          [repeater list]
          <li>[field text]</li>
          [/repeater]
         </ul>
       [/if]
     [/layout]
    [/flex]
    

    i get this being output [/if] [/layout] [/flex] on the page

    thanks
    j

Viewing 1 replies (of 1 total)
  • Thread Starter codemonkeynorth

    (@codemonkeynorth)

    it appears flex and repeater have some shared functionality so this works

    [layout icon_list]
      <b>Title:</b> [field title]
      [if field=list]
      <ul>
        [-repeater list]
        <li>[field text]</li>
        [/-repeater]
      </ul>
      [/if]
    [/layout]

    essentially nesting the repeater with a -

Viewing 1 replies (of 1 total)
  • The topic ‘Repeater inside ACF Flexible Content?’ is closed to new replies.