Link to attachments in the article instead of at the end | Community
Skip to main content

Link to attachments in the article instead of at the end

  • September 19, 2023
  • 1 reply
  • 0 views

Is it possible to link to attachments in the article body instead of listing them at the end of the article?

1 reply

Zsa
  • September 20, 2023

Hello Anders,

This seems to be possible through the use of custom coding, which is shown in your screenshot. 

You can edit the article's source code to input a hyperlink for the attachment. For example: 

<a href="attachment_URL" target="_blank">hyperlink</a>

Then, you can comment out the code for the attachment part in the theme's article_page template. 

Reference: https://developer.zendesk.com/api-reference/help_center/help-center-templates/introduction/#code-comments