Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m seeing the same behaviour with v1.0.9 on WP3.9 with a Twenty Twelve child theme.

    Having looked at the plugin file there is a single line missing.

    Add after add_action(‘wp_enqueue_scripts’, ‘load_scripts’); in fancy-box/fancybox.php

    add_action(‘wp_head’, ‘fancybox’);

    Although argument could be made that you should use the wp_footer hook instead so that the script isn’t render blocking.

    Thread Starter bennot

    (@bennot)

    Hi!

    Add after add_action(‘wp_enqueue_scripts’, ‘load_scripts’); in fancy-box/fancybox.php

    add_action(‘wp_head’, ‘fancybox’);

    It worked! Thank you very much!

    it’s work for my site many thanx for the tip 🙂

    Nicole

    (@nicolecurioni)

    Hello @bennot I’ve checked my fancy-box/fancybox.php file and the “add_action(‘wp_head’, ‘fancybox’);” string is already there, but the plugin isn’t working. Any idea? This is the site

    Thanks a lot! 🙂

    I am having the same issue as well. I’m using the Twenty Fourteen template.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Doesn't work after WP update’ is closed to new replies.