Support » Plugin: CDN Sync Tool » [Plugin: CDN Sync Tool] Not excluding JS

  • I use WP Super Popup which apparently needs to have its JS loaded separately, or else the popup doesn’t pop up. I’m trying to list the two JS files that load in the “exclude JS” box, but it’s not working. I’ve tried to list the files several different ways, ie:

    Nothing seems to work. What is the proper way to list files in that box? And assuming I’ve done that already, is there any way to get it to work?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ollie Armstrong


    I’m looking into this

    It’s problem in function ‘doCombine’ in file ‘cdn-sync-tool\lib\Cst\JsCss.php’.

    You have a choice:
    1. Write in exclude list full path to file, like:

    2. Edit function ‘doCombine’ in file ‘cdn-sync-tool\lib\Cst\JsCss.php’:

    if (in_array($file, explode("\n",$filesConfig["exclude_js"])) ||
    in_array($file, explode("\n",$filesConfig["exclude_css"]))) {


    if (in_array(basename($match[1]), explode("\n",$filesConfig["exclude_js"])) ||
    in_array(basename($match[1]), explode("\n",$filesConfig["exclude_css"]))) {

    then use only file name in exclude list (ex.: jcarusel.css)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: CDN Sync Tool] Not excluding JS’ is closed to new replies.