WordPress.org

Forums

FancyBox
[resolved] 1.0.9 fix to make FancyBox work as expected (2 posts)

  1. Ragnar Karlsson
    Member
    Posted 1 year ago #

    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/

  2. Ragnar Karlsson
    Member
    Posted 1 year ago #

    1.1.0 fixes this, thanks to Kevin!

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.