2012-02-24, 06:20:06
if you don't want to have the "[...]", you can simply write something else in it or let it empty in "functions.php":
Code:
/*******************************************************
* @function nm_create_excerpt
* @param $content the post content
* @return a truncated version of the post content
*/
/*function nm_create_excerpt($content) {
global $NMEXCERPTLENGTH;
$len = intval($NMEXCERPTLENGTH);
$content = strip_tags($content);
if (strlen($content) > $len) {
if (function_exists('mb_substr'))
$content = trim(mb_substr($content, 0, $len, 'UTF-8')) . ' [...]'; /* <- here */
else
$content = trim(substr($content, 0, $len)) . ' [...]'; /* <- here */
}
return "<p>$content</p>";