Guide Article - How to show date and author only to Team Members

2 Comments

  • Zsa Trias
    Zendesk Customer Care

    Hello Franca,

    This seem to be possible thru JS customization. You can add the following lines on your script.js template:

    // Hide article-author div for non-agents
    if (HelpCenter.user.role=="anonymous"){
    $("div.article-author").hide();
    }
    if (HelpCenter.user.role=="end_user"){
    $("div.article-author").hide();
    }

    Please do note, the above code is provided without warranty or guarantee that it will continue to function as the product changes.

    0
  • Franca Meggiolaro

    Hi Zsa,

    thank you for your precious help!

    0

Please sign in to leave a comment.

Powered by Zendesk