Fixing Fitsoft js conflicts of plugins

Fixing Javascript conflicts of  Fitsoft plugins

Placing the plugin’s Javascript code at the bottom of your page will fix most conflicts.  Here is a quick fix to allow the plugin Javascript code to run on the bottom of your website:

1.) Log into your WordPress and under “Plugins” click on “Editor”:

how-to-fix-js-1

2.) It will open up an editor. Select our plugin and click “Select”:

how-to-fix-js-3

3.) Locate the file name “membership-management.php” . It is usually the first one:

how-to-fix-js-4

4.) Scroll down until you see this line:


wp_enqueue_script( 'fgsmm1.0.3_script', 'https://admin.fitsoft.com/js/IFrameWidget2.1.js', array('jquery'), '1.0.3');

how-to-fix-js-5

5.) We are going to update this line by adding “, true” inside the wp_enqueue_script for this line. This will place this javascript file at the end of the page:


wp_enqueue_script( 'fgsmm1.0.3_script', 'https://admin.fitsoft.com/js/IFrameWidget2.1.js', array('jquery'), '1.0.3', true);

how-to-fix-js-6

6.) Double check the code is exactly like the one above or else it will break. Click “Update File”.

how-to-fix-js-7

 

*If you have any questions on technical questions you can contact support at customersuccess@fitsoft.com

 

Subscribe to Our Newsletter!