First post here so let me know if I'm doing something wrong.
The company I work for uses a custom FancyBox Wordpress plugin that allows us to use fancy box on images easily. Basically, when you click on the image it expands to fill the center of the screen. Standard stuff, however we're having a problem.
Since last week or so it has stopped working and the images just link to themselves (takes you to a new page with he image on a white background). This isn't ideal for obvious reasons, and the developer isn't in the country for the foreseeable future so I can't ask him to fix it.
I've looked through the plugin files and the source code for the pages that are output, and the javascript isn't being called properly. It looks like this in the page source:
<script type="text/javascript">jQuery.wpxFancybox();</script>
The main plugin file responsible for this output appears to be this (paste bin link).
I'm alright with PHP but this is beyond me. I would really appreciate your help with this problem.
Let me know if you require the code from any other files in the plugin. I'll be happy to supply them.
Thanks in advance guys.