WP Nivo Slider
Nivo Slider Dont work in wp3.5? (31 posts)

  1. yausdar
    Posted 3 years ago #

    My nivo slider stop working when i updated to wp 3.5.
    Appear a image of first post but dont change.

    Anyone can help?


  2. oliviasolis
    Posted 3 years ago #

    paste this on your header.php
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>

    it work for me

  3. paste this on your header.php
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>

    This is not good advice. You should never include your own version of jQuery. Always use the version that ships with WordPress.

    This plugin is over 2 years old and is not compatible with the latest version of WordPress. The main problem being that this plugin is using an outdated version of the nivo slider js.

  4. Sandro
    Posted 3 years ago #

    Have the same problem

  5. yellowlabrat
    Posted 3 years ago #

    Chris is correct; the nivo slider version is outdated.

    Here's how I fixed this problem...

    NOTE: If this plugin is updated (not likely) and you install the update, it will overwrite any of the changes I am outlining below.
    NOTE 2: I recommend you backup your site's "plugins/wp-nivo-slider/" folder before doing the following. If something breaks, you can just put it back as it was before.

    To fix the Nivo Slider plugin with the latest version of WordPress:
    1. Get the latest version of the Nivo Slider js file by going here, and clicking the Download button:

    2. This will download a zip file with several files in it. All you really need from this zip file is: "jquery.nivo.slider.pack.js". Copy "jquery.nivo.slider.pack" up to your website into the following location:
    - This should overwrite the current file named "jquery.nivo.slider.pack.js".
    NOTE: You should be copying the file that has the word "PACK" in its name. Don't accidentally copy the one w/o the word "PACK" in the file name.

    3. Now edit the following actual plugin file that is on your server:
    - In this file, around line 53, change this:
    wp_enqueue_script('nivo_slider', WP_PLUGIN_URL . '/wp-nivo-slider/js/jquery.nivo.slider.pack.js', array('jquery'), '2.3' );
    to this:
    wp_enqueue_script('nivo_slider', WP_PLUGIN_URL . '/wp-nivo-slider/js/jquery.nivo.slider.pack.js', array('jquery'), '3.2' );
    - NOTE: All you are doing is changing the version number of the nivo slider so that it corresponds to the version in the new file you uploaded in step 2 above.
    - Save the file on your server.

    4. Go back to the page that has your slideshow on it and refresh. You should be good to go!

    Hope this helps someone out there.

  6. wcardoso
    Posted 3 years ago #

    Tks yellowlabrat! perfect!

  7. eljefeenterprises
    Posted 3 years ago #


    After making these changes to the plugin I am finally getting transitions between slides however the transition effects are poor or do not render at all. Also, the text that was showing in each image is no longer visible.

    Any idea what the problem might be?

  8. yellowlabrat
    Posted 3 years ago #


    That sounds really weird. Do you have a link to the page that is doing that? Maybe we can see something that way.

  9. eljefeenterprises
    Posted 3 years ago #

    The live site is http://www.getjive.com you can see the slider working there on WP v. 3.3.1

    The dev site is hosted on another server and is running the latest version of WP. This one has the new js file and updated php other than that it is the same.

  10. yellowlabrat
    Posted 3 years ago #

    I can't see anything based on the live site.
    That one looks fine, so I can't really tell what would be wrong with the dev one.
    Is there anyway you can do a screen capture and post it somewhere?

    From what you're saying, the transitions work, they just seem to be going slow or look crummy? Is there one transition that works better than another? As in, the fade looks good, but the slice looks bad?

  11. eljefeenterprises
    Posted 3 years ago #

    Ok, here are the screen captures of the different transitions. Some are definitely worse than others, but none are working normally.

    Fade - http://screencast.com/t/tH6tLW3YznT - this one isn't working at all
    sliceUpDownLeft - http://screencast.com/t/2KS8NGTfavHZ - this one has a lag in it

    Those are the two we have been using, but here are the others:

    sliceDown - http://screencast.com/t/7isrE58qtCpZ - transition does not behave normally
    sliceDownLeft - http://screencast.com/t/fUoY2ubvNS - same as above
    sliceUp - http://screencast.com/t/5G86wDusL9zr - not working
    sliceUpLeft - http://screencast.com/t/9W3uo3DyybBe - not working
    sliceUpDown - http://screencast.com/t/vwP7llVig - transition lags
    fold - http://screencast.com/t/uPxx6919UxS - transition lags

    The oddest behavior occurs when set to random - http://screencast.com/t/j2Pv16sJ

    Again, none of them are showing the image Title and Alt Text as the live site is.

  12. yellowlabrat
    Posted 3 years ago #

    Nice work on the screen captures!

    Can you double check on the version of both jQuery and nivoSlider that you have on DEV site?

    Navigate in your browser to the page on dev that has the slideshow, then View Source of the page.
    Search for "jquery" and you should see something like this:

    Shortly after that, you should see a line that looks like this:

    Write back with what two versions you see there.

  13. eljefeenterprises
    Posted 3 years ago #

    Jing FTW!

    Here's the versions I have loading:


  14. yellowlabrat
    Posted 3 years ago #

    I have jQuery 1.7.1.
    I wonder if there could be a problem with the later version of jQuery you are using.
    Is there any chance you could jump your jQuery back to v1.7.1 just to check?

  15. eljefeenterprises
    Posted 3 years ago #

    This got the fade effect working right, but made some even worse, a few still the same.

  16. eljefeenterprises
    Posted 3 years ago #

    Title and alt text of images are still not showing.

  17. yellowlabrat
    Posted 3 years ago #

    Sorry, eljefeenterprises, I haven't been able to think up another solution under this scenario.

    I do see that Nivo Slider has released their own packaged WordPress plugin, and it is only $19.

    That might be worth it, just to grab the supported/updated/official version and be done with all the tweaking. :O)


    Good luck!

  18. lcrafael
    Plugin Author

    Posted 3 years ago #

    Im, develop a new version of this plugin. This work correct now.

  19. dotsanddashes
    Posted 3 years ago #

    I'm having real issues with the plugin update on this one – installed yesterday afternoon, and since lost all the slider settings I had previously. I've since been able to get some back, though not all... Example of how we use the slider here:


    But more worryingly, I've since lost the ability to edit sliders at all – can't select effects, nor alter the image order or anything like that.

    The page is also generating the following javascript error: "Uncaught TypeError: Object [object Object] has no method 'sortable'"

    Hope someone out there can help!

  20. lcrafael
    Plugin Author

    Posted 3 years ago #

    Hi, in my tests, the plugin updated does not lose the settings. I can not imagine what could have happened.

    I saw on your site that the plugin is working correctly. In this new version some things have been added, including a newer version of jQuery, nivo.js and themes.

    I do not know where else I can help, but it can be useful for something, let me know.

  21. dotsanddashes
    Posted 3 years ago #

    Yeah, I'm confused by it, I must say..!

    The plugin is working more or less as it was, yes, but it's when I make a new slider that I really encounter the issue... I've got no option to modify how it appears at all..?

    And with the newer versions of jQuery, nivo.js and themes is there anything else (plugins or otherwise) that may need to be updated as well..?


    EDIT: sorry, should have included this link – this is what the galleries now look like, as the variables can't be altered:


  22. lcrafael
    Plugin Author

    Posted 3 years ago #

    I just made a new version that fixes a minor bug and add effects, you can test it.

  23. dotsanddashes
    Posted 3 years ago #

    Cool! How can I get it..?

  24. lcrafael
    Plugin Author

    Posted 3 years ago #

  25. dotsanddashes
    Posted 3 years ago #

    The issue seems to be persisting... Could it be anything to do with WP 3.5.1..? Or is there any code I can give you which might illustrate what the problem is..?

  26. dotsanddashes
    Posted 3 years ago #

    So it would appear to be an issue with the update eating up far more php memory than it was previously. What is the recommended memory for the plugin, exactly..?

    Apart from that, unsure as to whether any of the below could potentially be interfering with the functionality of the plugin although I am currently running the following:

    Custom Login lite
    Facebook Like Box
    Nivo Slider WordPress Plugin
    Search & Replace
    SlideDeck Pro for WordPress - Slider Widget
    Twitter Widget Pro
    WordPress SEO
    WP Author Slug
    WP Nivo Slider
    WP No Category Base
    WP Smush.it
    WP User Avatar
    Yet Another Related Posts Plugin

    Thank you.

  27. lcrafael
    Plugin Author

    Posted 3 years ago #

    I do not think the plugin needs a lot of memory, all the processing it is very simple. Can be joining many plugins or server already exhausted.

  28. vanwaik
    Posted 3 years ago #

    @eljefeenterprises how did you solve the problem with not showing captions?

    i'm using nivo slider 2.0. after updating to 3.1 of 3.2, none of the images in my post category are showing. it's just blank. and no captions at all. so i rolled it back to 2.0. but in 2.0 i'm still not having captions (the title of the post, i presume). it was all working in version 1.3 but not now.

    site: http://www.chjc.nl

  29. eljefeenterprises
    Posted 3 years ago #

    @vanwaik I still don't have this working. I am looking into using the Dev7 plugin instead, but that has been tricky due to the way that the wp-nivo-slider was integrated into the theme I am using.

    It might be that WordPress 3.4 changed the shortcode syntax for image captions and now the plugin does not read them. See: http://writings.orangegnome.com/writes/wordpress-3-4-and-captions/.

  30. vinzely
    Posted 3 years ago #

    @eljefeenterprises and @vanwaik I had the sames issue with the caption. I'm using WP 3.5.2 and WP Nivo Slider 3.1. The problem is that the title returned in the <img> is undefined. I don't know if that comes from the_post_thumbnail(); function... Anyway I figured out a workaround but probably not very elegant.

    First I've downloaded the latest version of jquery.nivo.slider.js (http://dev7studios.com/nivo-slider/) then in wp-nivo-slider.php line 89, instead of calling jquery.nivo.slider.pack.js, I'm calling jquery.nivo.slider.js.

    In jquery.nivo.slider.js I did the following change l. 95, 96. Replace vars.currentImage.attr('title') by $(kids[vars.currentSlide]).attr('title'). Basically instead of takink the title of the <img> you're taking the title of the .

    if($(kids[vars.currentSlide]).attr('title') != '' && $(kids[vars.currentSlide]).attr('title') != undefined){
                    var title = $(kids[vars.currentSlide]).attr('title');

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Nivo Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic