Additional JavaScript for WordPress Customizer lets you add JavaScript code, to the front-end, using the WordPress Customizer.
You need to have the edit_css
capability to use the plugin. edit_css
is similar to the unfiltered_html capability.
You know the drill.
- Download the plugin
- Go to Plugins > Add New.
- Click on Upload Plugin button found on top left corner of page
- Select the downloaded .zip file
Or add the plugin to your composer file using composer require "soderlind/additional-javascript"
Additional JavaScript is copyright 2018 Per Soderlind
Additional JavaScript is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
Additional JavaScript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.