KWIGA help center LMS (education) Connecting LMS to your website How to add a widget code to your website

How to add a widget code to your website

Articles:

We will explain all the details of adding the widget code to your site.


In this article:


After you create the widget in the builder that needs to be added to the website, save it and exit the builder. On the widgets page, find the one you need and select Widget code from the “three dots” menu.

 

Step 1: adding the widget code

You will see a window with 2 code blocks. At the top is the code that needs to be added to your website at the bottom of the body block. 

Important! The code must be placed before the closing <\/body> tag

If you use the Weblium website builder, use this setting when adding the code. This option is available only on the Pro plan.

Result:

Step 2: Adding code to the button

After installing the widget code itself, you need to add code to the buttons that should open your widget when clicked. The code that needs to be added to the button: 

 

 

Example of a website on Weblium: