Last active
June 8, 2021 00:47
-
-
Save moderatorwes/1ada9b4edcfb72912d2d to your computer and use it in GitHub Desktop.
Zendesk: Send Category to Community (Humble Squid Theme)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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