Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Hi,

    Thanks for using my plugin. Even easier than editing the plugin (a change which you’ll have to make each time the plugin is updated in the future) is to add a filter.

    Download the javascript file and save it in the root of your theme’s folder. Then add the following to your theme’s functions.php file.

    add_filter( 'arconix_jquerytools_reg', 'my_jquerytools_reg' );
    function my_jquerytools_reg( $args ) {
        $args['url'] = get_stylesheet_directory_uri() . '/jquery.tools.min.js';
        return $args;
    }
    Thread Starter webbersky

    (@webbersky)

    Didn’t think of that, thanks (:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘https WordPress site’ is closed to new replies.