This is one of the easiest methods because by default Elementor offers a free HTML widget. Therefore, you don’t need to install any additional plugins.
On the Elementor editor, you need to use the search bar to find the “HTML” widget from the left sidebar, and let’s drag it to your content.
You should notice that the function should be wrapped inside <script> tags when using the HTML widget.
After updating the page, you can visit your website to see the changes.
In addition, it is one of the most outstanding Elementor Addons that offers plenty of powerful widgets and elements for your website. Therefore, you can take advantage of this plugin to extend the functionality of Elementor.
To add JavaScrip with this plugin, you need to track the following steps:
Step 1: Install and activate the plugin
The process of installing Essential addons for Elementor is also similar to other plugins. First of all, you need to go to Plugins > Add New and type the plugin’s name on the search bar to find it.
Then, click on the Instal Now button and Activate the plugin.
Step 2: Enable the Custom JS extension
After you have activated the plugin yet, now go to Essential Addons for Elementor from your WordPress dashboard to enable the custom JS extension. By default, this option will be turned on. However, if it has not been enabled, you need to activate it.
Once the Custom JS option was enabled, don’t forget to save your changes by clicking on the “Save Settings”.
Now, you can edit any page with Elementor. In the Elementor editor, you need to click on the Gear icon at the bottom corner on the left of the screen.
It is a bit different compared to using the HTML widget because you don’t need to wrap the code with
Remember to save your changes before visiting your website to see how the codes are working.
The bottom lines
In addition, you can refer to plenty of bewitching, well-structured, free Elementor WordPress Themes on our website. Let’s visit and choose your favorite design.
We’re a Digital Team from EngineTemplate with 5 content experts. Our team has 5 years exp in open source Joomla and WordPress, we make daily blogs and build useful resources for everyone who is having issues with open source while using it.