Advanced? filtering
-
I’m not sure if I just dont understand the documentation or if there simply isn’t a solution for this. I’m trying to do the following:
I have a custom post type “House” and a custom post type “Appartment”. The relation :
p2p_register_connection_type( array( 'name' => 'appartment_to_house', 'from' => 'appartment', 'to' => 'house',...The appartment have an ACF (Advanced Custom field) called “rooms”.
I would like to list all houses that have appartments with the value of the ACF field “rooms” beeing “2”.
I can list all the houses, and all the related appartments like described here but how can I narrow them down as described above?
The topic ‘Advanced? filtering’ is closed to new replies.