Reply To: Remove "#prettyPhoto"

#1846
Livemeshlivemesh
Keymaster

The portfolio URLs are not appended with #prettyPhoto. When you close the Lightbox window on a portfolio page, the URL on the page window points to prettyPhoto but for all practical purposes, you shouldn’t be using this URL.

Having said that, some find the URL shown misleading and annoying and you can remove the same by changing the js/main.js file line number 317 to –

$("a[rel^='prettyPhoto']").prettyPhoto({
            "theme": theme_selected, /* light_rounded / dark_rounded / light_square / dark_square / facebook */
            social_tools: false,
            deeplinking:false /* Option that helps remove prettyPhoto in URL */
        });

I haven’t had anyone complaining about this so far and hence did not worry too much about it. Thanks