Skip to content

Instantly share code, notes, and snippets.

Wes moderatorwes

  • Zendesk
Block or report user

Report or block moderatorwes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
moderatorwes / zendesk.html
Created Nov 9, 2016
Zendesk: Redirect Category Links using {{curlybars}}
View zendesk.html
<!-- Grab the id of the category and insert into the is statement. This code is from the Copenhagen Theme-->
<li class="blocks-item">
{{#is id 204259447}}
<a href="/hc/communities/public/topics" class="blocks-item-link">
<h4 class="blocks-item-title">{{name}}</h4>
<p class="blocks-item-description">{{excerpt description}}</p>
<a href='{{url}}' class="blocks-item-link">
<h4 class="blocks-item-title">{{name}}</h4>
moderatorwes / Category.html
Last active Nov 22, 2019
Zendesk: Accordions for Copenhagen theme - Live example(
View Category.html
<!-- Add this code if you would like accordions on your Category Page -->
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{search submit=false}}
moderatorwes / article.html
Last active May 24, 2017
Zendesk: Embed PDF
View article.html
<!--Add this to your article page using the Source editor -->
<iframe src="" style="width:600px; height:500px;" frameborder="0"></iframe>
moderatorwes / article.html
Created Apr 12, 2016
Zendesk: Formatting Tags
View article.html
<ul class="tags">
Tags: {{#each article.labels}}
<li class="tag">{{identifier}}<li>
moderatorwes / zendesk.js
Created Mar 2, 2016
Zendesk: Hide default system fields on Zendesk Ticket Form
View zendesk.js
//hide system fields based on ticket forms(change subdomain and form id)
if (window.location.href == "") {
$('.form-field label:contains("Attachments")').hide();
moderatorwes / zendesk.js
Created Feb 16, 2016
Zendesk: Limit number of promoted articles
View zendesk.js
//Limit number of promoted articles on homepage
if(typeof $('.promoted-articles ul').get(0) != 'undefined') {
var _sectionArticles = $('.promoted-articles ul');
_sectionArticles.each(function(_aidx, _aitm) {
var _itmCount = $(_aitm).find('li').length;
var _allLink = $(_aitm).prev('h3').find('a').attr('href');
if(_itmCount > 5) {
for(var x = (_itmCount - 1); x > 4; x--) {
moderatorwes / zendesk.js
Created Jan 22, 2016
Zendesk: Make Humble Squid boxes clickable
View zendesk.js
//Humble Squid boxes clickable
$(".category-list li:has(a)").click(function() {
window.location = $("a:first",this).attr("href");
$(".category-list li").css('cursor', 'pointer');
moderatorwes / zendesk.css
Created Dec 18, 2015
Zendesk: Custom Category Boxes with SVG icons
View zendesk.css
@import url(,200);
@import url("");
@import url("");
body {
font-family: 'Source Sans Pro', sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
moderatorwes / zendesk.html
Created Aug 25, 2015
Zendesk: Add Font Awesome icons beside category title wiry merchant theme
View zendesk.html
Make sure to add Font Awsome CDN to Document Head
moderatorwes / zendesk.js
Last active Dec 27, 2018
Zendesk: Re-direct users to My Activities if End User
View zendesk.js
//re-direct end users to My Activities
You can’t perform that action at this time.