On the website, I created an archive page ( hidden link ) which there is on the left a menu. The first part of the menu has the list of regions "piemonte, lombardia,...". It's possible to remove automatically some of these items if they are empty? For example, if you select "lombardia" and click on "Cerca farmacie" the next page show the message " Non ci sono farmacie..."
I don't want to show items on the menu the doesn't have any results
Hello. Thank you for contacting the Toolset support.
Can you please share admin access details and let me see if I'm able to share any workaround for this issue.
*** 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.
To filter the terms displayed with the taxonomy filter with the view, Toolset offers the hook "wpv_filter_taxonomy_frontend_search_available_terms" using which we can fitter the taxonomy filter terms.
I've added the following code to "Custom Code" section offered by Toolset:
=> hidden link
It works perfectly thanks so much but, I don't understand what change you did to the code because I can't see the difference...Can you explain, please?