Add media button in cornerstone to add downloadable file to page

How do I add a file that can be downloadable from my page in cornerstone?

Hello @spnegrin,

Thanks for asking. :slight_smile:

You can first upload the file to your WordPress media library and after that you can add the button and in URL section just add the URL of the file. I have recorded a screencast that you can take a look. https://cl.ly/1g1h253u0m2J

Thanks.

Is there a way the file can be automatically downloaded to their computer or iTunes when they hit the button? Thanks!

Hi There,

Thanks for asking again!

To download the file automatically to the computer, you need a custom HTML link instead of the button.

Example:

<a href="file-url" download> Text or Image </a>

You can use this HTML tag inside text element or classic raw content. If you need the link style would be a button you can use custom CSS for this.

Hope this helps!

Thanks

1 Like

Thank you. that was helpful

You’re welcome, glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.