/* после тега more */
function aftermore2($content) {
$ads = if(function_exists('the_ratings')) { the_ratings(); }
$content=preg_replace('#<span.*?id="more-(.*?)".*?></span>#','<span id="more-\1"></span><center>'.$ads.'</center>',$content);
return $content;
}
add_filter('the_content', 'aftermoreads');
function aftermore2($content) {
$ads = (function_exists('the_ratings')) ? the_ratings();
$content=preg_replace('#<span.*?id="more-(.*?)".*?></span>#','<span id="more-\1"></span><center>'.$ads.'</center>',$content);
return $content;
}
add_filter('the_content', 'aftermoreads');