• Resolved tylerstannard

    (@tylerstannard)


    Hi RavanH, so I put together a WordPress site earlier this year. Yesterday, somehow the client accidentally cancelled his hosting and lost the site. The hosting company restored the site, but it was incomplete, so I was contacted to restore the missing parts.

    First thing I noticed, Easy Fancybox was no longer working, and it was fine before the incident. Tried a couple things different things, no dice. Then I examined the code, and it appears that the jquery library may be in there twice now?? Wondering if you could take a look, and let me know what could be wrong and how to fix.

    The site URL is http://www.lashawnkford.com/

    Thanks,
    Tyler

    http://wordpress.org/plugins/easy-fancybox/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, there is a second but older jQuery version included in the source:

    <script type="text/javascript" src="http://www.lashawnkford.com/wp-content/themes/MahasoliTribune/js/jquery-1.4.2.min.js"></script>

    It is included by the theme. Either make the theme comply with the formal way of including script files with wp_enqueue_script( "jquery" ) or simply remove the hard-coded call from header.php

    Alternatively, you can revert Easy FancyBox to version 1.3.4.9 which can be downloaded from http://wordpress.org/plugins/easy-fancybox/developers/

    But be aware that the double jQuery library issue remains unsolved 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fancybox not working after site restore’ is closed to new replies.