[Résolu] hideempty=true not working when taxonomy connected to two post type
This support ticket is created Il y a 3 années et 2 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
In my website i have two post type and one taxonomy which is connected to two post type now i am using taxonomy search filter but it showing taxonomy if no post type connected to that perticular taxonomy
I have two post type called "A" and "B" and i have one taxonomy called "C" and the Taxonomy "C" is register with post type "A" and post type. "B". but i need to create one view for post type "A" and create one search filter of Taxonomy "C". with count and if count is 0 for post type "A" then hide that Perticular taxonomy from search filter.
If you visit the taxonomy listing page - wordPress will show the total count irrespective of the post type. It will show total count of post type ""A" and Post type "B".
I think we can workaround it by adding a filter but if you can tell me what view you created with taxonomy filter and where you added that view - please share problem URL and admin access details and I will see if I can share any workaround.
*** 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.
Sorry - do you want to hide/delete the empty term or you want to display the terms having no posts assigned?
*** 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.
It seems its due to the taxonomy is attach to multiple post types.
Can you please share problem URL where you want to hide the empty terms?
*** 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.
Can you please tell me how can I remove the cache as even I add some hook it tooks a while to have a effect and after that there is no effect on archive page.
Can you please for a moment disable the cache so I can check if I can share any workaround.