Skip to content

Snippet: Hide Empty Terms in the Ajax Filter

When using the AJAX filter with the "Show Term Count" setting enabled the theme will still display terms that don't have any posts assigned to them. You can use the following CSS to hide those buttons completely.

.vcex-navbar a[disabled] { display: none; }
Back To Top