After creating the Widget, you need to add it to your website. You can add the Widget to any page of your website and also any part of a particular page (i.e., the header, footer, log-in page, registration page, etc.). You can add the Widget to your website through the Template Editor.
- Open the Template Editor. (navigate to “Website” -->” Templates” -->” Manage Template” and click on “Edit Template”)
- Open the page in the Template Editor to which you want to add the Widget (i.e., the header, footer, log-in page, registration page, etc.).
- Then insert the Widget Code (see the above screenshot. Here the Widget Code is "Test_Widget") and click on “Save”.
- After adding the Widget to your website, click on “Preview Website” to see the widget on your website.
| Note: You can insert the Widget Code anywhere on your website by using this code {$this->widgets['Test_Widget']['content']}. Here "Test_Widget" is your widget code. |