Support » Plugins and Hacks » [Resolved] [Plugin: WP Nivo Slider] A Quick Fix

[Resolved] [Plugin: WP Nivo Slider] A Quick Fix

  • Hello

    Been looking for a quick fix on this simple plugin. Here’s what to do :

    – Download the latest Nivo Slider jquery plugin from here :

    – replace the file “jquery.nivo.slider.pack.js” in “Plugins/wp-nivo-slider/js” with the one in your download

    – in your theme’s “functions.php”, add these lines that will ensure your whole wordpress site to use the latest JQuery version :

    if( !is_admin()){
     wp_register_script('jquery',("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false, '');

    – Open “Plugins/wp-nivo-slider/wp-nivo-slider.php” and find

    wp_enqueue_script('nivo_slider', WP_PLUGIN_URL . '/wp-nivo-slider/js/jquery.nivo.slider.pack.js', array('jquery'), '2.3' );

    Replace the last argument with the proper version of the NivoSlider plugin (in this case from 2.3 to 2.6)

    wp_enqueue_script('nivo_slider', WP_PLUGIN_URL . '/wp-nivo-slider/js/jquery.nivo.slider.pack.js', array('jquery'), '2.6' );

    – Just to make sure JQuery is ok on your wordpress install, place this line :<?php wp_enqueue_script("jquery"); ?> just before <?php wp_head(); ?> in your theme’s “header.php”

    – Everything should run fine now. Enjoy.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WP Nivo Slider] A Quick Fix’ is closed to new replies.