
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Jamal is on vacation. This is Minesh here and I'll take care of this ticket. Hope this is OK.
Can you please share admin access details as well as archive URL so I can check whats going wrong there.
Basically, "wpv_filter_query" hook will not have effect on archive. To filter the archive may have to use the WordPress default hook "pre_get_posts" or "pre_get_terms".
But I would be able to share solution when I will be able to see how exactly you setup the things on your archive.
*** 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.

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I checked with most of the hooks and I'm not sure why the early-bird term is shown with the radio button filter.
I tried to use get_terms or pre_get_terms but there is no success - I just could not figure out from where the terms are added.
Have you added any custom code to remove the terms?
Hi Minesh,
The only Toolset-related code I can think of is under the custom code tab in Toolset > Settings. Is there anything wrong with how I added the code?
I haven't added anything related to Toolset in my child theme's functions.php file, but could anything there be causing a conflict?
Kind regards,
Kosta

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
This is edge case and I'm not sure what function is causing this as I just could not able to hook any wordpress hook to filter it.
You may try to hook pre_get_terms or get_terms hook and see if you can able to hook it and try to disable the custom code you added for now and see if you get any different results.
Where and how? I would not know how to go about this myself.

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I could not able to disable the WP Rocket plugin. Can you please disable/deactivate that plugin

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
The issue was with the following post, you assigned the terms "early-birds" as well as "mini" to the garment-type taxonomy.
That is why when you query "mini", it was also shows the "early-birds" as the same post was also assigned to "mini" and you are filtering result with "mini".
Ah that makes sense.
I've made a custom field with the slug early-bird. Values 0 and 1.
Is there a way to use the same code snippet as before, but reapply it to custom fields rather than taxonomies? So that any product with early bird field being valued 1 isn't displayed? If so, would this require a separate support topic?

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Yes - that will require another support ticket as this ticket is about taxonomy term.
Then my issue can be considered resolved and I will make another ticket. Thank you for your patience and help!