Okay
  Public Ticket #216940
gallery plugin incompatibility
Closed

Comments

  • Mary Kate started the conversation

    so i have a BWS gallery plugin (i think it came with the theme?), and it worked fine until recently, but now the gallery lightbox doesn't work (click the logos in the gallery to see that it goes to a new page, not a ligthbox) i tried turning off all of my plugins, but still had the problem. this is what the BWS people said: 

    "1) You have an incorrectly written theme that instead of using js Wordpress files uses custom files plugged into the theme, consequently, the plugin that works with js Wordpress files (as it must be and as it is stated in Wordpress codex) can't work correctly."

    does this make sense? is it fixable? 

  •  296
    Paul replied

    Hi,

    BWS gallery plugin does not come with the theme and that absolutely does not make sense. The theme itself is already using WordPress's built-in jQuery which is best practice.

    If we check the source code of the site, you will see that the jQuery is called from WordPress core already (screenshot: http://cl.ly/image/3l2a1U091r0i ).

    Moreover, as I have checked the error message on your site, it said that there is a problem on the line 258 (screenshot: http://cl.ly/image/1S1E3M0h012L ). And once I checked out that line, I found the code of BWS gallery plugin as this screenshot: http://cl.ly/image/230Z1B3U1d1u .

    Here is the error message showing on the browser's console: "Uncaught SyntaxError: Unexpected token ILLEGAL" pointing to the line mentioned above. You can find the discussion about the error message here: http://stackoverflow.com/questions/5733275/chrome-... .

    The theme has nothing to do with this.

    I am not sure why they did not see this error message as it is obviously showing in the browser's console. I would suggest to ask them for the support on the issue.

    Regards,
    Paul

  • Mary Kate replied

    Paul, 

    Thanks so much for the response. I had no idea the support for this theme would be so awesome—you've been really helpful!

    I'm moving away from that gallery anyways as I want to use the portfolio functionality more fully. But until i get it all up and running, i'll just use the gallery that came with the site. 

    Thanks!

    --Mary Kate