WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Easy Fancybox not working on page with integrated forum (2 posts)

  1. nicolbotha
    Member
    Posted 1 year ago #

    Hi RavanH,

    Initially the easy fancybox wasnt working on any pages on my site, however after a bit of ready and hunting around i found that the theme was loading an older version of jquery, removed it and it works well.

    However, on my page where i have a forum integrated the easy fancybox still wont load - im having a little trouble tracking down why?

    Would you mind taking a look when you get a chance please?

    http://www.endlessflooring.co.nz/forum/

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

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    It's your themes custom.js that is throwing an error, blocking all following script execution:

    Uncaught exception: TypeError: '$' is not a function
    
    Error thrown at line 1, column 0 in http://www.endlessflooring.co.nz/wp-content/themes/theme1441/js/custom.js?ver=1.0:
        $(document).ready(function(){

    This is caused because the themes script is not using jQuery in 'no-conflict' mode. If you change that first line in custom.js to

    jQuery(document).ready(function($){

    then the error should be gone...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic