• Resolved kreattivo

    (@kreattivo)


    Hi, how do I create a query of custom post type using the ACF relationship field? I have 2 CPT in relation one between each other (bidirectional) the goal is: display a post grid of CPT2 when I’m on single CPT1 and viceversa. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpsoul

    (@wpsoul)

    Why you can’t simply put query grid and select CPT2 in options? or you mean something another?

    Plugin Author wpsoul

    (@wpsoul)

    We released Repeater builder. It has also support for relationship types

    Thread Starter kreattivo

    (@kreattivo)

    Hi, I’m very surprised and happy that you build the REPEATER BUILDER block. I’m trying to use it and I can easly query through a ACF RELATIONSHIP but it seems I have another problem (or I’m not able to use correctly the block): Here’s my goal:

    On the single template of CPT_1 I insert the repeater block, to output the related CPT_2 (it works!). I’m able to retrieve the featured image and post title, but I need also some custom fields (of the relate CPT_2) and I’m not able to get it. I’ve tried with “meta getter” but it doesn’t work…

    Plugin Author wpsoul

    (@wpsoul)

    Repeater builder is similar to Query builder and you can insert dynamic blocks in it. Meta getter for example

    Thread Starter kreattivo

    (@kreattivo)

    Hi’ve tried but the output is blank

    Plugin Author wpsoul

    (@wpsoul)

    Currently I don’t know what you do so I can’t advice

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Query ACF Relationship’ is closed to new replies.