• Hi there

    I’ve have a cpt with relation field and flexible content field

    On the post I have no issue to display the content of its flexible field, and I have no issue to display it’s related post title

    however I can’t display one’s post related post flexible content field

    basically this works

    [related field_name]
      [field title]
      [field thumbnail]
    [/related]

    this works too

    
    [flex flexible_content]
    
      [layout title_text]
        [field title]
        [field text]
      [/layout]
    
      [layout title_image_text]
        [field title]
        [field image=image size=thumbnail]
        [field text]
      [/layout]
    
      [layout gallery]
        [acf_gallery gallery_field]
          [acf_image size=thumbnail]
        [/acf_gallery]
      [/layout]
    
    [/flex]
    

    but this do not work

    [related field_name]
      [field title]
      [field thumbnail]
      
      [flex flexible_content]
    
      [layout title_text]
        [field title]
        [field text]
      [/layout]
    
      [layout title_image_text]
        [field title]
        [field image=image size=thumbnail]
        [field text]
      [/layout]
    
      [layout gallery]
        [acf_gallery gallery_field]
          [acf_image size=thumbnail]
        [/acf_gallery]
      [/layout]
    
    [/flex]
    [/related]

    is there any way to acheive this ?
    Thank’s

    • This topic was modified 3 years, 8 months ago by jbonlinea.
    • This topic was modified 3 years, 8 months ago by jbonlinea.
  • The topic ‘ACF Flexible in acf relation not working’ is closed to new replies.