Skip Navigation

[Résolu] hideempty=true not working when taxonomy connected to two post type

This support ticket is created Il y a 2 années et 6 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.

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 16 réponses, has 2 voix.

Last updated by Minesh Il y a 2 années et 6 mois.

Assisted by: Minesh.

Auteur
Publications
#2175089

Hi Minesh,

Yes! I disable all caching related code and plugins you can check.

Thanks

#2177363

Minesh
Supporter

Languages: Anglais (English )

Timezone: Asia/Kolkata (GMT+05:30)

There is no way to filter the empty terms added as frontend filter on the archive you created.

Finally, as a workaround I found a JS solution.

I've added the following custom JS code to your archive:
=> hidden link

jQuery(document).ready(function($){
  
  $("div.checkbox span:contains(0)").parent().parent().remove();

});
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.