Wordpress 2.7+ Gallery Styles Fix


/ Published in: PHP
Save to your folder(s)

This is a combination of two fixes from Michael at [WPEngineer.com](http://wpengineer.com/a-solution-for-the-wordpress-gallery "WPEngineer.com"), which removes the styles from the gallery output, and a follow-up comment by [Aaron Cimolini](http://wpengineer.com/a-solution-for-the-wordpress-gallery/#comment-2070), which allows the developer to omit shortcode attributes.

The blog stripped some of the usable code from the comment, so I cleaned it up and reposted it here. I'm using it with the Sandbox theme, so I've replaced the original sandbox_gallery function with Michael and Aaron's improvement.

URL: http://368design.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.