Last active
August 29, 2015 14:07
-
-
Save moderatorwes/b598c946896d7fc84af2 to your computer and use it in GitHub Desktop.
Zendesk: Remove Author and replace with another author
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
//Remove author from articles | |
$(".article-author").first("a").html( | |
$(".article-author").first("a").html().replace("Inactive Agent", "Support Team") | |
); |
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
//Remove author from Search results | |
$(".search-result-meta a:first-child").replaceWith("<b>Support Team</b>"); | |
//You can use the below code to just replace the author's name with something\someone else. Similar to code above | |
//Remove a particular author and replace inside of Search Results | |
$(".search-result-meta a:first-child").html( | |
$(".search-result-meta a:first-child").html().replace("Inactive Agent's Name", "Support Team")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment