Easy FancyBox
[resolved] Easy Fancybox don't work after updated to 1.5.0 v (8 posts)

  1. sitemakiyato
    Posted 2 years ago #

    1) I'm updated wordpress to 3.5.2 version
    2) Updated Easy Fancybox to 1.5 version
    Now images don't open with Easy Fancybox.
    My site


  2. Bruno
    Posted 2 years ago #

    Same problem here. After updated to WP 3.5.2, Easy Fancy Box has stoped working. I wonder how we could fix this issue.

  3. RavanH
    Plugin Author

    Posted 2 years ago #

    Hi sitemakiyato, there are several thing going wrong:

    1. your theme seems to be loading a very old jQuery version on its own on top of the one included with WordPress. I see this just before the closing </head> tag in your page source code:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

    This needs to be removed. If you want to use a Google hosted jQuery, then use the plugin Use Google Libraries http://wordpress.org/plugins/use-google-libraries/

    2. your theme is missing its footer.php (probably) or somehting is preventing proper execution. This causes the page source code to be incomplete and missing the proper script files for FancyBox and probably other stuff to run. You need to find out why this is happening.

    A look in the error log files might help. Or disable all plugins, check if the footer is properly working then, and then enable each plugin one by one until you find out which one is causing this...

  4. sitemakiyato
    Posted 2 years ago #

    Hi, RavanH. Thank you, some things have cleared up.
    About point 2. I had some code that hampered the work of the theme.
    I removed it and footer.php work now.
    About point 1. I removed this tag:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    Installed this plugin http://wordpress.org/plugins/use-google-libraries/, but Easy Fancybox still doesn't work.
    I know it's because my theme is old. I set another theme and Easy Fancybox worked perfectly.
    But could you help me?

  5. RavanH
    Plugin Author

    Posted 2 years ago #

    Open the theme file script.js in the WordPress theme editor and find this part near the bottom of the file:

    /* Botton uptotop*/

    Now just add a $ to the jQuery(function(){ so that line looks like this:


    Save and revisit your site after clearing the browser cache.

  6. sitemakiyato
    Posted 2 years ago #

    Thanks a lot. It's work. I like your plugin, it's very useful.

  7. mainroller
    Posted 2 years ago #

    Hi RavanH,

    I followed every instruction given on all those fancybox-wont-work-after-update topics but still cant get it running.

    I am using Quform plugin where opening a form in fancybox works well. My site is here

    I couldnt find the right to do... Do you have any hints?

  8. RavanH
    Plugin Author

    Posted 2 years ago #

    Hi mainroller,

    The issue is the same, the cause may be different. In your page source code I see:

    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script>
    <script type='text/javascript'>try{jQuery.noConflict();}catch(e){};</script>

    which means you are using an older version of the jQuery library. You need to find out why your site it using this older version. It might be because of a plugin, or your theme... And then, you need to 'fix' that.

    Alternatively (and maybe easier) you can just revert to the previous version of my plugin which is compatible with jQuery 1.6.x and older. Download http://downloads.wordpress.org/plugin/easy-fancybox. and upload via FTP, overwriting the current plugin files. And don't forget to NOT upgrade unless you are sure your site is using a more current version of jQuery like the one included with WordPress...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic