wpexplorer

WordPress Gallery Add PrettyPhoto

Jan 3rd, 2013
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //add pretty photo to wp gallery images
  2. $('.gallery-icon a').has('img').addClass('prettyphoto-link');
RAW Paste Data