• Resolved Ragnar Karlsson

    (@ragnarkarlsson)


    Hi folks,

    As per my other post to get the fancybox to function as expected (any link to an image) I’ve had a look at the plugin file and 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.

    Have sent an email to the plugin author as well.

    https://wordpress.org/plugins/fancy-box/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘1.0.9 fix to make FancyBox work as expected’ is closed to new replies.