Ibland vill man ta bort bilder från kategorier i genesis.
function remove_images( $content ) {
if (is_category()):
$postOutput = preg_replace('/<img[^>]+./','', $content);
return $postOutput;
endif;
return $content;
}
add_filter( 'the_content', 'remove_images', 100 );