• Hello. I have a problem with the newest version of WordPress 4.1. I tried install many lightbox or fancybox plugins, but anyone of them don’t work. It looks like jQuery si blocked by WordPress or something. When I add image to article, it opens only in the new tab. Thank you for answers
    Site: http://www.eckari.sk

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hy Cityzen68,

    Have you tried this plugin?

    if the responsive lightbox plugin doesn’t work try and install https://wordpress.org/plugins/use-google-libraries/

    This plugin will replace the jquery script with the latest version hosted by google.

    Hope this helps!

    Kind regards,

    Larsen

    Thread Starter cityzen68

    (@cityzen68)

    Thank you for answer. I tried it but it’s not working. It is weird. I tried 8 different plugins. I also tried add images in the gallery but it still doesn’t work.

    did you installed the use google libraries plugin?

    Thread Starter cityzen68

    (@cityzen68)

    Yes I did. And I also tried three different browsers.

    Try this:

    add_action('wp_enqueue_scripts', 'no_more_jquery');
    function no_more_jquery(){
        wp_deregister_script('jquery');
    }

    Paste it in your functions.php, it will deregister jquery.
    It is possible that there is a conflict between 2 jquery versions.

    Just to be sure..
    you tried the plugin’s one by one right?

    Kind regards,

    Larsen

    Thread Starter cityzen68

    (@cityzen68)

    Of course I did it as you write it. Thank you for your code, but it doesn’t work.
    EDIT: Here is example article from my site. Right now I am using Huge IT Lightbox plugin.
    http://www.eckari.sk/?p=86

    I’m installing the plugin now.

    Hy Cityzen68,

    I have just installed the plugin..
    it works fine.

    Did you have created the post before or after you have installed the plugin?

    It is possible that if the image was in the post before the plugin was installed you will have to remove the image and insert it again.

    i’m running wordpress 4.1 clean install.

    Let me know!

    kind regards,

    Larsen

    Thread Starter cityzen68

    (@cityzen68)

    Thank you that you tested it. Yes I also tried adding images and articles after installation. But it doesn’t help.

    I assume you did the usual steps?

    Deactivate all plugins and switch to default wordpress theme ( twenty something) to see if it is not a compatibility issue?

    Thread Starter cityzen68

    (@cityzen68)

    Larsen thank you so much for your help. I downgraded WordPress to version 4.0 and now it works. I really appreciate your help.
    Regards
    Citzyzen 68

    Hy,

    Glad i could help ( although you figured the downgrading part out yourself :))

    I checked the plugin page to check if the version of wordpress is compatible..
    they have updated the huge it lightbox plugin today.

    It is possible you have the old one before the update and i have the new one..

    it does say Compatible up to: 4.0.1 so that could also be the problem.

    Anyway, i’m happy you got it working!

    Have a nice day,

    Larsen

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Lightbox or Fancybox doesn't work’ is closed to new replies.