Tell us what you are trying to do?
The site has a CPT of Therapists, and a one to one relationship CPT of Checklist. On the directory listing page for the Therapists, I would like to use a field value from the Checklist as part of the Query Filter, but it's not working. Is there something more I need to do for this to work?
Select items with field:
Publish my listing is a boolean equal to 1 - Therapist CPT field
AND
Name is a string equal to URL_PARAM(wpv-wpcf-name)
AND
Town or City is a string equal to URL_PARAM(wpv-wpcf-town-or-city)
AND
Certified is a boolean equal to 1 - Therapist CPT field
AND
Documentation Verified is a boolean equal to 1 - Checklist CPT field
AND
Filter based on the frontend search filter by State or Territory.
I'm sorry to say that filtering by fields of related posts is not supported. You can only filter by fields (or taxonomies) of the content you are querying.
For it to work you would essentially need to duplicate the field from the Checklist post type on the relevant Therapist posts.
I would like to know do you have frontend filters added to your Therapists directory listing page?
Can you please share Therapists directory listing page URL as well as admin access details and let me review what best possible option we can have.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Thanks, I think I will rework the way the Posts are created and move the data from one into the other. But I was just curious what options there are for dealing with this in the future when that isn't possible.
And yes, there are front end filters on the listing page.
thanks
If you share admin access details let me try to add that and you can see if you get expected results otherwise you should opt the way to copy the data of post type to each other. Does that makes sense? If yes:
I need problem URL where you added your view and admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.