',
esc_url( get_permalink() ) ),
'
' );
$content = strip_tags(get_the_content_with_formatting());
if(strlen($content) > 300)
{
$content = substr($content, 0,300);
$content = trim(substr($content, 0,300));
$pos = strrpos($content,' ');
$content = substr($content, 0, $pos);
$content .= '
'. __("Read more","kardealer"). '';
}
echo $content;
?>