Support

Account

Home Forums ACF PRO Group Custom Post Types in Relationship field output Reply To: Group Custom Post Types in Relationship field output

  • Thanks for your reply John.

    I can’t seem to get it to work. Was your code to fully replace what I had?

    Here is what I am trying to format the results of the relationship field…

    CPT 1
    – result 1
    – result 3
    – result 4

    CPT 2
    – result 2
    – result 6

    CPT 3
    – result 5

    etc etc..

    But because the user may pick the CPT in random order the results are grouped based on the order selected in the relationship field…

    CPT 1
    – result 1

    CPT 2
    – result 2

    CPT 1
    – result 3
    – result 4

    CPT 3
    – result 5

    CPT 2
    – result 6

    Hope this makes sense?