The Download Button lets visitors save the displayed code as a file, instead of only copying it to the clipboard.

It is a single switch on the Options section, alongside the widget’s separate Copy button.

Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: Free — Syntax Highlighter ships in The Plus Addons for Elementor Free plugin.
  • Widget to enable: Syntax Highlighter, switched on under The Plus Addons > Widgets.
  • Deprecated: confirmed on the live Widgets screen – see the Settings Overview doc for detail.

Steps

  1. Add a Syntax Highlighter widget and open its Options section.
  2. Turn on Download Button.
  3. Set the button’s Text (default “Download”) and Icon.
  4. Set Link if the button should download a specific file, rather than the code text itself.
  5. Publish and check the front end.
The download button switch and its text/icon/link sub-fields

Limitations

  • What the button actually downloads when Link is left empty (a generated text file of the code, versus nothing) was not independently confirmed on the front end this session – only the control’s existence and default (off) were confirmed via a fresh control extraction.

Troubleshooting

The button does not appear

Confirm Download Button is switched to on – it is off by default, separate from the widget’s own Copy button, which is always shown.