This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I want to filter 2 taxonomies post via shortcode but it doesn't work for logic operator AND
the filter should show post that has the 2 taxonomies in common but also if I choose one taxonomy it shows results like it uses the OR operator instead of AND
For example i have 2 taxonomies
1. tipologia
2. luogo
tipologia = barca-a-vela
luogo = capri
The shortcode is
[wpv-view name='testi-personalizzati-shortcode' wpvtipologiabarcatesto ='barca-a-vela' wpvluogotesti='capri']
if i use this
[wpv-view name='testi-personalizzati-shortcode' wpvtipologiabarcatesto ='' wpvluogotesti='capri']
or this
[wpv-view name='testi-personalizzati-shortcode' wpvtipologiabarcatesto ='barca-a-vela' wpvluogotesti='']
it shows results and it shouldn't
it shows results also
I give you admin access the page to see is: hidden link
Sorry...
I noticed that if I only choose the "luogotesti" attribute it doesn't work:
[wpv-view name='testi-personalizzati-shortcode' wpvtipologiabarcatesto ='0' wpvluogotesti='capri'] it should display only posts with wpvluogotesti = capri but NOT
🙁
I got it but I do not know what values returned by function flrt_selected_filter_terms();.
Do you see every values returned and you assigned is correct? Either I will require admin access details to check your issue or duplicator copy of your site. Please let me know what mode you would prefer.
Can you please share details where exactly you have added the view at what section? Please share screenshot and problem URL.
*** 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.