[^<]*?){$item->attr_title}<", $item_output); } //remove gallery style add_filter( 'gallery_style', 'my_gallery_style', 99 ); function my_gallery_style() { return "