how to remove the #prettyphoto from the url
I had the same problem yesterday, and I'm quite sure I found the answer here in stackoverflow... I visited so many websites, forums... so I don't remember where I got the answer exactly.
Anyway, I'm working on Dreamweaver, but I guess the code is similar in WP.
What you gotta do is specify the deeplinking property as false when you call prettyPhoto.
This is my code:
$(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto({ theme:'light_rounded', social_tools:false, deeplinking:false, });});
I'm a total noob in js, but I hope this helps :)
$(document).ready(function() { $("a[rel^='prettyPhoto']").prettyPhoto({ theme: 'light_rounded', social_tools: false, deeplinking: false }); });
use deeplinking:false to remove #prettyphoto from url