Return to Snippet

Revision: 48071
at June 23, 2011 06:26 by coryschadt


Initial Code
//Remove default inline gallery styling
    add_filter( 'gallery_style', 'my_gallery_style', 99 );

    function my_gallery_style() {
        return "<div class='gallery'>";
    }

Initial URL

                                

Initial Description
Add this to your functions file

Initial Title
Wordpress -  Remove inline style from default gallery

Initial Tags
wordpress

Initial Language
PHP