• Resolved MarkPGray

    (@markpgray)


    Firstly I must thank you for an amazing plugin … Thank you!

    I hope I am not missing something obvious so sorry if I am.

    I’m using the advanced custom fields plugin and make heavy use of the relationship field. How do I show a field from a relationship field? I assume it requires a loop within the loop I am already using.

    Hope this is enough info.

    Cheers, Mark

    https://www.ads-software.com/plugins/custom-content-shortcode/

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

    (@miyarakira)

    Hello,

    I looked up the ACF documentation and found that it wasn’t too complicated, so I added this feature in the latest update. You can loop through posts in a relationship field like this:

    [related field="field_name"]
      [field title]<br>
    [/related]

    It can be used inside [loop] also.

    Thread Starter MarkPGray

    (@markpgray)

    Works perfectly ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing fields from relationship field in ACF’ is closed to new replies.