Ready to get started?Download WordPress


[resolved] [Plugin: WP-Table Reloaded] help changing .js file location (3 posts)

  1. seanlaf
    Posted 4 years ago #

    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!

  2. TobiasBg
    Posted 4 years ago #


    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,

  3. seanlaf
    Posted 4 years ago #

    Thank you Tobias!

Topic Closed

This topic has been closed to new replies.

About this Topic