WordPress.org

Forums

FancyBox
[resolved] Doesn't work after WP update (7 posts)

  1. bennot
    Member
    Posted 1 year ago #

  2. Ragnar Karlsson
    Member
    Posted 1 year ago #

    I'm seeing the same behaviour with v1.0.9 on WP3.9 with a Twenty Twelve child theme.

  3. Ragnar Karlsson
    Member
    Posted 1 year ago #

    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.

  4. bennot
    Member
    Posted 1 year ago #

    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!

  5. S.Saab
    Member
    Posted 1 year ago #

    it's work for my site many thanx for the tip :)

  6. nicolecurioni
    Member
    Posted 1 year ago #

    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! :)

  7. kbsmurphy
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • FancyBox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.