Support » Plugin: TBTestimonials » [Plugin: TBTestimonials] Howto use "jQuery Cycle Lite" instead ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • yes it’s possible:

    upload the jquery cycle plugin file to a /js subfolder in your theme,
    in your functions.php file, create a new function:

    add_action('wp_enqueue_scripts','my_load_cycle_lite');
    function my_load_cycle_lite(){
        // replace TB testimonials script with a lightweight version
        wp_deregister_script('jquery-cycle');
        wp_register_script('jquery-cycle', get_stylesheet_directory_uri() . '/js/jquery.cycle.lite.js', array('jquery'), '', true);
        wp_enqueue_script('jquery-cycle');
    }

    Thank you Paul!

    I’m going to try this out soon and see if it successfully works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: TBTestimonials] Howto use "jQuery Cycle Lite" instead ?’ is closed to new replies.