• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Notes to Self

  • Aviation Weather from NOAA Plugin
    • KZZV
    • Bad Shortcode
    • Simple Metar
  • Meetings
  • Meetings Map

Mark Chouinard / September 11, 2015

Nimble Portfolio: Clean up PrettyPhoto URL

Need to remove #nimblebox[nimble_portfolio_gal_default] from your URL?

in prettyphoto.js, change

(function(j){j(document).on('nimble_portfolio_lightbox',function(event, obj){obj.items.prettyPhoto();})})(jQuery);

to

(function(j){j(document).on('nimble_portfolio_lightbox',function(event, obj){obj.items.prettyPhoto({deeplinking: false});})})(jQuery);

 

Filed Under: WordPress Tagged With: plugins, portfolio, prettyphoto

Primary Sidebar

Footer

Copyright © 2021 · machouinard · Log in