尝试向函数添加筛选函数。主题的php;
示例:
add_filter(\'the_content\', \'alc_image_spanner\');
function alc_image_spanner($text) {
$text = preg_replace_callback("#<img(.*?)>#is", create_function(\'$matches\', \'return "<span><img".$matches[1]."></span>";\'), $text);
return $text;
}