Skip Navigation

[Resolved] Unable to hide attachment taxonomy term on its empty attachment

This support ticket is created 5 years, 1 month 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years ago.

Assisted by: Luo Yang.

Author
Posts
#1221018
screenshot-www.mulaika.com-2019.03.26-23-21-12.png

Tell us what you are trying to do?
I used attachment taxonomy to group its attachments using parent and child views. But I was unable to figure a way to exclude the attachment taxonomy group from display list if its attachment count is zero.

Is there any documentation that you are following?
https://toolset.com/2015/07/how-to-group-posts-by-category/

Is there a similar example that we can see? I searched all over internet and havent found any example.

What is the link to your site?
hidden link

#1221326
Include-terms.JPG

Hello,

Please edit your taxonomy view, in section "Query Options", disable option "Include terms that have non-empty descendants", and test again.

see screenshot Include-terms.JPG

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