All Collections
Advanced
Adding downloadable content to your Shogun pages
Adding downloadable content to your Shogun pages

In some cases, you may wish to offer a downloadable piece of content such as a PDF for your users.

Updated over a week ago

While not officially supported, it is possible to include links to downloadable content within your Shogun pages using the HTML element.

Can I add a download option to a Shogun element?

No, Shogun elements like the Image element do not support downloadable content. Please feel free to reach out to support@getshogun.com to register your interest in this feature.

How to add downloadable content

Hosting: Downloadable content can not be hosted within Shogun, this must be hosted outside of Shogun on services such as Dropbox, Google Drive, OneDrive etc.

Once you have your file hosted, you should have a URL where you can access your file - please contact support for the service if you can not find this URL. Next, grab a HTML element from the sidebar and drop it on the page.

<a href="https://myhosting/image/imagename.jpg" download></a>

There are no restrictions on file types allowed, for example, .pdf will allow you to add a downloadable PDF to your page.

More information on the download attribute can be found on W3Schools, it would be recommended that you familiarise yourself with this attribute before making use of this code.

FAQ

I'm stuck, who do I turn to for help?

Shogun makes no promises that we will be able to resolve issues faced when working with custom code, but we would be happy to take a look at the use case and advise, troubleshoot, or redirect as appropriate.

Did this answer your question?