This topic is: not resolved
Viewing 9 posts - 1 through 9 (of 9 total)
Hi,
We have a fresh install of WordPress 4.8 and version 2.0.0 of the xtreme theme.
In the editor for pages/posts we are reeving the following error:
Failed to load plugin url: http://***/wp-content/plugins/pixtheme-custom/shortcode//shortcode/shortcode.js
As you can see the theme tries to call the file with “//shortcode/shortcode.js”. The file itself exists in the folder.
Where is the theme getting the double slashes from?
Cheers,
/.benny
See details in private content…
Hi Alex,
Sorry, I removed the password protection of the dev site.
Cheers
Please see below…
Hi,
If I modify in file
/wp-content/plugins/pixtheme-custom/shortcode/shortcode.php
The 2nd line to
define ( ‘JS_PATH’ , plugin_dir_url( __FILE__ ).’shortcode.js’);
The error is gone.