JS # handling error
Hi there,
I have Be | theme installed on this site http://www.bcreativedesigns.co.uk/ along with a plug in called "Media Grid" - you can see Media Grid on the portfolio page working fine http://www.bcreativedesigns.co.uk/portfolio/
Media Grid has filterable categories and the portfolio items have multiple images that open it a lightbox - all this works flawlessly *but* there is a problem "deep linking" directly to the categories from other pages.
On the homepage of the site there are mutliple images that link to the media grid categories but clicking on them causes JS errors because of a problem in the theme and the way it handles # placeholders in URL's
To reproduce the error just visit the site, click on a homepage image and then click on an image in that portfolio category - you will see the lightbox opens but no image is shown.
The plug in developer hasn't been much help but has stated that it's a theme problem and I have confirmed this by switching to a default WP theme - the deep linking works fine.
Some script included with the theme is messing with the handling of #'s in URLs????
Any help please?????
I have Be | theme installed on this site http://www.bcreativedesigns.co.uk/ along with a plug in called "Media Grid" - you can see Media Grid on the portfolio page working fine http://www.bcreativedesigns.co.uk/portfolio/
Media Grid has filterable categories and the portfolio items have multiple images that open it a lightbox - all this works flawlessly *but* there is a problem "deep linking" directly to the categories from other pages.
On the homepage of the site there are mutliple images that link to the media grid categories but clicking on them causes JS errors because of a problem in the theme and the way it handles # placeholders in URL's
To reproduce the error just visit the site, click on a homepage image and then click on an image in that portfolio category - you will see the lightbox opens but no image is shown.
The plug in developer hasn't been much help but has stated that it's a theme problem and I have confirmed this by switching to a default WP theme - the deep linking works fine.
Some script included with the theme is messing with the handling of #'s in URLs????
Any help please?????
Comments
we have option to disable pretty photo which can be the reason of your problem and you can disable it under Theme options > Addons & Plugins > Addons section. But if this won't help, then we have no idea what else could be the problem. And because it's plugin that we do not support, you should speak with plugin's author.
Thanks!
I have spoken with the plugin author and he says the problem is caused by some JS in the theme affecting the way #'s in URL's are handled
If I rename this file (to prevent it loading) then the media grid plug in works as it should but I lose the menu drop down, guess i am going to have to start stripping JS functions from that file individually until I find the problem...
// Navigation | Hash
hashNav();