Remove "#prettyPhoto"

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1840
    Saroja
    Member

    Is there a way to rename or remove “#prettyPhoto” from the Portfolio url?

    #1846
    livemesh
    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

    #1882
    Saroja
    Member

    Thanks, it worked.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove "#prettyPhoto"’ is closed to new replies.