Return to Snippet

Revision: 52080
at October 12, 2011 23:58 by maxxscho


Initial Code
function bb_add_image_class($class){
$class .= ' scale-with-grid';
return $class;
}
add_filter('get_image_tag_class','bb_add_image_class');

Initial URL

                                

Initial Description
Adds a class to the standard classes in Images in Posts/Pages

Initial Title
Wordpress Image in Content add class

Initial Tags
image, wordpress

Initial Language
PHP