Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Zendesk: Hide Entire Category when using Category_Tree
//Hide certain categories/section from HomePage using {Category_Tree}}
$('h2 a:contains("KNOWLEDGE BASE")').hide();
$('h2 a:contains("KNOWLEDGE BASE")').closest('.category').hide();
$('h2 a:contains("FAQs")').hide();
$('h2 a:contains("FAQs")').closest('.category').hide();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment