WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP-Table Reloaded] help changing .js file location

[Resolved] [Plugin: WP-Table Reloaded] help changing .js file location

  • Hi Tobias,

    I had a question a couple weeks ago and went to DataTables forums for help (compatibility issues in IE). Allan asked me to:

    Could you change the DataTables script location that you are using to http://datatables.net/dev/seanlaf.js please and I’ll attempt to debug why this is occurring for you.

    I looked through the plug-in and I know there’s a few js files at work here, could you help me find where this script is being called in the plug-in?

    Thank you!
    Sean

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    you can change the URL by using a plugin filter hook. Please try pasting the following code into the “functions.php” of your theme folder.

    function change_wp_table_reloaded_url_js_script( $urL ) {
      $url = 'http://datatables.net/dev/seanlaf.js';
      return $url;
    }
    add_filter( 'wp_table_reloaded_url_js_script', 'change_wp_table_reloaded_url_js_script' );

    Best wishes,
    Tobias

    Thank you Tobias!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP-Table Reloaded] help changing .js file location’ is closed to new replies.