1. Configure WordPress
The first step we need to do is to add some custom scripts which will load all the code for the widget. In order to do this without making changes to the code or theme we will install a plugin to help us. In the plugins section of WordPress search for ‘Simple Custom CSS and JS’. When you find it the details page should look like this:
Activate the plugin
Go ahead, install and activate this plugin. Once installed navigate to the settings page and here we are going to add our code. Select the button that says ‘Add Html Code’ to add a custom snippet of code:
Add the broadcast snippets
Now we are going to add the custom snippets we need to make the widget work with the following steps:1. Give the widget a name.
2. Add the snippets.
Now we add the required CSS and Javascript files. Copy and paste the following code into the text area on the page:3. Set the postion of the snippets
On the right hand side of the page is an options panel. Make sure that under “Where on page” the option for “Footer” is selected. When you are done the page should look something like this: