Support » Theme: D5 Business Line » [Theme: D5 Business Line] missing / broken function ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author D5 Creation

    (@d5creation)

    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

    function d5businessline_auto_excerpt_more( $more ) {
    	return ' …' . d5businessline_continue_reading_link();
    	}
    	add_filter( 'excerpt_more', 'd5businessline_auto_excerpt_more' );

    and paste the following lines

    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');

    wpprogrammeurs.nl

    (@wordpressprogrammeursnl)

    thank you much ….. solution works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: D5 Business Line] missing / broken function ?’ is closed to new replies.