Skip to content

Instantly share code, notes, and snippets.

@mjsdiaz
Created October 28, 2013 20:59
Show Gist options
  • Save mjsdiaz/7204576 to your computer and use it in GitHub Desktop.
Save mjsdiaz/7204576 to your computer and use it in GitHub Desktop.
Use shortcode_atts_gallery filter to add new defaults to the WordPress gallery shortcode. Use image size of medium and 2 columns as new defaults. Allows user input to the post gallery shortcode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment