<img> tags in <div class="imageframe">. */ function image_frames_zomg( $content ) { return preg_replace( '||i', '
', $content ); } add_filter( 'the_content', 'image_frames_zomg', 1, 1 ); ?>