D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Re: Error Message

Front Page D5 Creation Forum General Support Error Message Re: Error Message

#3620
D5 Creation
Keymaster

The problem occurs when you use the_excerpt() instead of the_content()
Open the functions.php and go to Line no 97. Remove the 04 lines,

Code:
function d5businessline_auto_excerpt_more( $more ) {
return ‘ …’ . d5businessline_continue_reading_link();
}
add_filter( ‘excerpt_more’, ‘d5businessline_auto_excerpt_more’ );

and paste the following lines

Code:
function d5businessline_excerpt_length( $length ) {
global $blExcerptLength;
if ($blExcerptLength) {
return $blExcerptLength;
} else {
return 50; //default value
} }
add_filter( ‘excerpt_length’, ‘d5businessline_excerpt_length’, 999 );

function d5businessline_excerpt_more($more) {
global $post;
return ‘<a href=”‘. get_permalink($post->ID) . ‘” class=”read-more”>Read the Rest…</a>’;
}
add_filter(‘excerpt_more’, ‘d5businessline_excerpt_more’);