Filter based on ACF relationship?

Hello hive mind!

I have 2 custom post types - post type A, and post type B. Set up in ACF.
Posts that are post type A can have a relationship to posts that are post type B.

I have a query loop, looping through post type A.

How can I set up an ajax filter that allows the user to filter based on related post type Bs?

My best result has given me what seems to be the number value of an array like so: (2), using a select box.

Sorry if this is a daft question, but does anyone know if this is possible, and if so, how?

Cheers!

2 Likes

Sorry to bump, but I’m having absolutely no luck with this.

As a far simpler sentence: How do I use the new filters to filter based on relationship?

(ACF bi-directional relationship)

1 Like

Hi @mikeanywhere, I have the same problem. Have you found a solution in the meantime? I look forward to your response. Thank you - Simon

1 Like

Bump! Same issue right here.

1 Like

Bump, same issues here!

1 Like

Hi there
Did you ever get this sorted?

1 Like

Hi there, any update on this, I have same issue here.

Same here, hoped the new update would enable us, but I can’t get it to work yet…