Skip to content

Instantly share code, notes, and snippets.

@moderatorwes moderatorwes/zendesk.js
Last active Jan 9, 2017

Embed
What would you like to do?
Zendesk: Send Category to Community (Humble Squid Theme)
//send category links to community - Change category and google.com to your helpcenter
$('a').each(function() {
var value = $(this).attr('href');
if(value=='/hc/en-us/categories/200108526-Technical')
{
$(this).attr('href', 'http://google.com');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.