$content = $post->post_content;
$limit = 280;
if (strlen($content) > $limit)
$content = substr($content, 0, strrpos(substr($content, 0, $limit), ' ')) . '...';
echo strip_tags($content);
online resources of seo, link building, web design, javascript/ajax, php, ruby on rails, web marketing, web promotion and web development.
No comments:
Post a Comment