Knowledge Base Tool

FraserKeddie
Participant

Adding a 'last edited' date/time at the top of an article

Hi, 

 

I am looking to add a date (and possibly time) at the top of a Knowledge Base article so the user can see when it was last edited or updated. Since it appears this functionality does not exist, it may be this needs to be javascript or a job for a developer. 

Does anyone have any experience with this?

 

Thanks. 

0 Upvotes
2 Replies 2
FraserKeddie
Participant

Adding a 'last edited' date/time at the top of an article

Hi @Whitney 

Thank you for the help! The solution was to copy the code from the article you shared directly into the Knowledge Base article. I had some help from a developer who opened my eyes to a multitude of other formatting possibilities which I had until now struggled with in HubSpot. 

 

These links may also prove useful for other people:
https://developers.hubspot.com/docs/cms/hubl#hs_cos_wrapper_widget_2878117828
https://developers.hubspot.com/docs/cms/hubl/filters

 

Whathcock
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

Adding a 'last edited' date/time at the top of an article

Hi @FraserKeddie ,

 

I found this article , and this community post that details a snippet of code you can add to include an "updated date" on a HubSpot blog post -- I'm wondering if the same would work for Knoweldge Base articles?

 

Hope this helps! If it did, please help the community by marking this as a solution.

 

Whitney

 

signature.png

Found my comment helpful? Great! Please mark it as a solution to help other community users.
0 Upvotes