I have three types of membership taxonomies on my website full membership, qualified members and student members. How can I create a view that will display members based on the taxonomy membership type? So I want to create three pages each with a view listing the membership types separately.
if you just want to pre-filter the result using the specific taxonomy term then you should navigate to "Content Selection" tab of your block view on right sidebar and then add a "Query Filter" for your taxonomy and select your desired taxonomy for which you want to filter your view.
If you want to reuse the view for multiple terms like for example:
//display posts belongs to student term
[wpv-view name="my-view-slug" term="student"]
//display posts belongs to member term
[wpv-view name="my-view-slug" term="member"]
Thank you for your quick reply. I only need to filter by one term per view. I understand what you are saying, but my view was created in blocks so I can not edit it in legacy. I don't see a content selection tab in my block view or a query filter option.
Can you please share problem URL where you added your view and share information about with what term you want to filter the view.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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.
So I've edit your page and from the block navigation button I've selected your view and then on right sidebar under the "Content Selection" tab I've added the taxonomy "Query Filter" as you can see with the following screenshot:
- hidden link
Can you please confirm it works as expected:
- hidden link
Wow, I did not even know about the list view option. You just taught me something very cool. I just tested the view now. The test member Dones is using the term Student Member but is still visible. The test member Anél’s Beauty Skincare is a CPCP qualified member and should be the only member visible. I also tried flushing the views cache but that also did not work.