Home › Toolset Professional Support › [Resolved] How to Hide the Children Taxonomies in case no content below them?
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 |
---|---|---|---|---|---|---|
- | 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)
Tagged: Views, Views plugin
This topic contains 7 replies, has 2 voices.
Last updated by ramez-refaatG 5 years, 11 months ago.
Assisted by: Minesh.
Tell us what you are trying to do?
We have many Child Taxonomies & I want to decrease the empty ones before users....how shall this happen.
Is there any documentation that you are following?
No I didn't find.
Is there a similar example that we can see?
hidden link
N.B. The Access is here for this page is for logged in users.
https://toolset.com/forums/topic/recent-table-not-in-descending-order-as-it-should-be/
What is the link to your site?
lifechangingtruth.org
Another related issue...when you click on a title, nothing appears...then when you click again it appears...(The Collapsible Menu I mean)
Hello. Thank you for contacting the Toolset support.
As I understand, if any term has zero posts assigned - you want to remove it - correct?
Yes & if later on something was categorized below it to appear again.
Also please the other issue the collapsible menu is not showing anything on first clixk...then you need to reclick to show what is below
Could you please check now, the accordion was not displaying properly because you do not passed the pid as view's shortcode attribute:
<li>[wpv-view name="child-sn-ar-subjects" pid="[wpv-taxonomy-id]"]</li>
I passed the pid as you can see above and I can see its working.
In addition to this, could you please confirm which terms should not be displayed? a few screenshots will be helpful. I wanted to know the exact issue here because you are using nested views so I would like to know at which level which terms should not be displayed.
Thanks a lot.
Wow it's working perfectly
The attached image has
3rd tax has no posts & I want it to disappear
When we add a post under it to reappear... this is exanple...but I want automatically to happen for all.
Tax 1
Subtax 1.1
Subtax 1.2
Tax 2
Subtax 2.1
Subtax 2.2
each subtax has posts now or later on.
I want the SubTax to appear only when it had post or posts.
If not the Tax can appear but not the subtax.
Thanks a lot
Could you please check now.
I've changed the way how content display within the view's loop editor section.
=> hidden link
=> hidden link
I can see now, subterm with no post is not displaying. Could you please confirm.
Yes sir it's resolved now.
Thanks a lot