How do I remove or modify the author, date, or timestamp on Help Center articles?

Return to top
Have more questions? Submit a request

54 Comments

  • Ole Lindtveit

    Hi, 

    I've successfully hidden article meta data in the article view. But when searching, the search results are provided with author and modify-date. Can anyone provide the "how-to" for removing meta data also in the search results? 

    1
  • Jessie Schutz
    Zendesk team member

    Hi Stephen!

    Thank you so much for sharing your input on this.

    I agree with you - the current process for collecting customer feedback and suggestions in the Community is far from ideal. The Product Feedback forum was started back when we were small, scrappy little start-up, and as we've grown the processes we put in place then have not aged well as we've grown.

    I spent a considerable amount of time over the last couple years working with the former Director of Product Management to understand the needs and pain points of the people who use the Product Feedback forum, including going to San Francisco to meet with our PMs at their annual summit, and Nicole is now working with our PMs and Voice of Customer team to continue those conversations.

    We've already implemented several new processes and policies to improve the experience of both our customers and our Product Managers, including aggregating thread information to pass along to Product Managers, consistent monitoring and updating of threads, content management to reduce duplicate and outdated posts, and starting pro-active conversations led by our PMs for customers to share their use cases.

    I completely understand why you don't want to re-post your suggestion in Product Feedback; asking our Community Members to re-post their feedback in another part of the Community increases the effort they have to put in, and we don't like having to do it. Unfortunately, our platform doesn't let us move thread comments to other parts of the Community; otherwise I would be happy to do that for you.

    I can definitely bring your feedback to the attention of the right folks; what I'm reading is that the {{t 'updated'}} placeholder is rendering something grammatically incorrect in Spanish. Am I understanding that correctly?

     

    1
  • Simon Celen

    Hi Elena Barmina

    You're right that the settings.show_article_author bit doesn't work due to that particular setting not being in your customized theme. The error prevents the changes from being saved.

    If you don't need the article's author then you can just take a part from code you copied from the Copenhagen theme:

    <ul class="meta-group">
    {{#is article.created_at article.edited_at}}
    <li class="meta-data">{{date article.created_at timeago=true}}</li>
    {{else}}
    <li class="meta-data">{{date article.edited_at timeago=true}}</li>
    <li class="meta-data">{{t 'updated'}}</li>
    {{/is}}
    </ul>

    It doesn't use any new features so you should be able to simply paste it in under your article title. However, the text would be different from your screenshot, f.e. for an updated article:

    You also will need to make CSS changes and/or change the class on the UL element above for it to look right. It depends on your specific theme.

    To get the text exactly like your screenshot you could instead try using:

    <div class="article-updated meta-data">Edited {{date article.updated_at timeago=true}}</div>

    However the "Edited" word would not be translated. If you need translation I would suggest to use:

    <div class="article-updated meta-data">{{t 'updated'}} {{date article.updated_at timeago=true}}</div>

     

    Hope that helps!

    1
  • Laura Hippert
    Zendesk team member

    Hi Anthony!

    The date helper will only display an automated date, based on when the article was created or updated. However, if you wanted to override the date helper for a few select articles, You could implement something like the following:

     <div class="article-updated meta-data">
    {{#is article.id 115002323527}}
    {{t 'updated'}} 2 Years Ago

    {{else}}
    {{t 'updated'}} {{date article.updated_at format="full"}}

    {{/is}}

    You would implement the #is helper to add a manual date (in my example I said "2 Years Ago") for the article that matches the ID that you have referenced. You would need to repeat the #is statement for each migrated article. Once you have done that, the else statement determines that the date helper is used for all other articles, that aren't specifically called out. I hope that helps!

    1
  • Anthony de Bruyn

    Awesome, it works! Thank you!

    0
  • Sarah Crespo

    Second follow up on my issue. Please help.

    0
  • Trapta
    Community Moderator

    Hi @Merav B,

    Try using this -

    {{date edited_at timeago=true}}

    Team Diziana

    0
  • Merav B

    Hi Jessie,

    I am told we are on a plan called "Plus"

     

    0
  • Sebastiaan Wijchers
    Community Moderator

    Hello Nicky,

    When you edit 'article_page.hbs' as described in this article, you'll find this around line 53 (when using the default Copenhagen theme):

                  {{#is article.created_at article.edited_at}}
    <li class="meta-data">{{date article.created_at timeago=true}}</li>
    {{else}}
    <li class="meta-data">{{date article.edited_at timeago=true}}</li>
    <li class="meta-data">{{t 'updated'}}</li>
    {{/is}}

    You can remove the two occurrences of 'timeago=true' to display an absolute date, instead of a relative one.

    You can also modify the format as documented here, so you can have it include the time when you choose 'long' or 'full'.

    With kind regards,

    Sebastiaan
    Sparkly ⭐

    0
  • Trapta
    Community Moderator

    Hi @Sarah, try replacing edited_at with created_at and let us know if it helps.

    Team Diziana

    0
  • Marie Capy

    Hello, 

    My articles still show with the creation date, whereas I checked the code and it seems to show the Update date : 

    My article (Updated today) :

     

    My code, in article_page.hbs: 

     

    Can you help ?

    Thanks!

    Marie

    0
  • Abdul A

    Hi Dan,

             I updated the search_page.hbs page by commenting out the author and date sections to disable author name and date created in the search results and that was my main question. In the article, I do not see my name as an author, which is good.

            The support page is not live at this time but I was able to confirm the changes from a sandbox theme.

    Regards, Abdul

    0
  • Stephen

    Thank you for the understanding and insight into the Product Feedback developments, Jessie. Much appreciated. 

    Yes, you are understanding correctly that I am concerned that the {{t 'updated'}} placeholder is rendering something grammatically incorrect in Spanish.

    0
  • Jessie Schutz
    Zendesk team member

    Thanks for verifying, Stephen!

    I'll pass that along to see if we can get that corrected on our end. Have a great weekend!

    0
  • Nicky Lilja

    Hi everyone, I am hoping you can help me out. 

    My Team wants us to have not only last updated time ago. But the actual date when it was updated.

    Especially, for our Service Status articles where we post service incidents. 

    Currently we have:

    But would like to have last updated 13 July 2019. Is this possible? 

    I have searched around on the community but not found anything? 

    0
  • Sebastiaan Wijchers
    Community Moderator

    Hello Sarah,

    Is your Help Center publicly available? If so could you link it so we can have a look at it as 'end user'?

    With kind regards,

    Sebastiaan
    Sparkly ⭐

    0
  • Sarah Crespo

    Hello,

     

    I tried editing using this syntax {{date edited_at timeago=true}} but our search result is still showing the time the article was created not updated. How do I address this?

    0
  • Laura Hippert
    Zendesk team member

    Hi Anthony! What you'll actually need to do is close out each individual #is statements at the end, which is why you are getting the syntax error. You'll also want to include the else after each statement, so we can nest them. It will look something like this:

    <ul class="article-updated meta-data">
    {{#is article.id 115000491434}}
    {{t 'updated'}} 2017-06-02
    {{else}}
    {{#is article.id 115000559053}}
    {{t 'updated'}} 2017-06-01
    {{else}}
    {{t 'updated'}} {{date article.updated_at timeago=true}}
    {{/is}}{{/is}}
    </ul>

    Basically, this allows you to nest multiple #is statements, while maintaining one #else statement for the whole lot. 

    Does that help?

    0
  • Bradley Weismann

    We have the code configured as shown in the article above for an internal-facing Help Center, however it's pulling in the Agent/Author aliases instead of their profile names. We have "enable alias" disabled under Gather Settings as well. 

    0
  • Jessie Schutz
    Zendesk team member

    Hi Hillary!

    I'm not sure why that would be the case. Can you give me more information about what exactly you're encountering here? How did you migrate that content?

    0
  • Elena Barmina

    Simon Celen

    Thank you very much! Really appreciate the level of detail.

    I went with a separate div suggestion - worked perfectly.

    ~Elena

    0
  • Stephen

    How is the 

    {{t 'updated'}}

    field handled for different languages? I think this is not our own configuration, but if we wanted to change it, is the only option through Dynamic Content management? Specifically we find that the Spanish should be Actualizado instead of Actualización. Could Zendesk consider a universal update?

    0
  • Jessie Schutz
    Zendesk team member

    Hi Merav!

    What Guide plan level are you on? If you're on a lower plan it's possible that don't have access to that level of customization.

    0
  • Merav B

    Hi Vera, 

    Thanks for that. I checked where you indicated, and it's not there.  I have a heavily customized theme, so I suppose that's why I don't have the Elements of the Article component available.

    Merav

     

    0
  • Vera Henrichs

    Hi! I've tried to follow the steps, but it has become much easier than what is written. If you go to Guide Admin > Customize design icon. Then in the Design editor, select view theme. 

    Instead of editing the code there is a whole row of options on the left and on the page you can easily uncheck the Author on the Article-section

    0
  • Sarah Crespo

    I tried created_at. It is still not working.

    0
  • Anthony de Bruyn

    How can I change the published date of individual articles? I am migrating our blog content to Zendesk and would like to timestamp some posts in the past.

    0
  • Abdul A

    Hi Team,

             How can I remove my name from the KB articles? When I use the search option within help center, I get the list of articles but each article has my name as an author? Please help.

     

    0
  • Anthony de Bruyn

    Hello Laura, I was cheering a bit too soon unfortunately ... I'm getting a syntax error when repeating the #is statement:

    <ul class="article-updated meta-data">
    {{#is article.id 115000491434}}
    {{t 'updated'}} 2017-06-02
    {{#is article.id 115000559053}}
    {{t 'updated'}} 2017-06-01
    {{else}}
    {{t 'updated'}} {{date article.updated_at timeago=true}}
    {{/is}}
    </ul>

    What am I doing wrong?

    0
  • Heather Rommel
    Community Moderator

    Great article! We commented out the parts we didn't want to display so that we can add them back in easily if we change our minds.

    Thanks again.

    0

Please sign in to leave a comment.

Powered by Zendesk