Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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