Posted By

maxxscho on 10/12/11


Tagged

image wordpress


Versions (?)

Wordpress Image in Content add class


 / Published in: PHP
 

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

  1. function bb_add_image_class($class){
  2. $class .= ' scale-with-grid';
  3. return $class;
  4. }
  5. add_filter('get_image_tag_class','bb_add_image_class');

Report this snippet  

You need to login to post a comment.