You are in the category: Funny
/* обрезка заголовка */
function get_short_title($maxchar = 300){
$title = get_the_title();
if( iconv_strlen($title, 'utf-8') < $maxchar )
return $title;
$title = iconv_substr( $title, 0, $maxchar, 'utf-8' );
$title = preg_replace('@(.*)\s[^\s]*$@s', '\\1 ...', $title); //убираем последнее слово, ибо оно в 99% случаев неполное
return $title;
}
?>

Every web designer knows how hard it is to find a perfect seamless texture that fits all the criteria. Sometimes it takes a few hours of browsing the web to find the necessary seamless texture of exotic marble, fine fabric, clouds or bricks. Do not spend your precious time on surfing the... More

[evp_embed_video... More