Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Cohhe,

    I have investigated it a bit further.
    Changing excerpt management in content pages solved the issue:

    $myexcerpt = get_the_excerpt();
    if( '' == $myexcerpt ) {
    	$post_content = __( 'No excerpt for this post.', 'shopera' );
    } elseif ( $post_grid == false || is_single() ) {
    	the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'shopera' ) );
    } else {
    	if ( strlen( $myexcerpt ) > 140 ) {
    		$post_content = substr($myexcerpt , 0, 140) . '..';
    	} else {
    		$post_content = $myexcerpt ;
    	}
    	echo '<p>'.$post_content.'</p>';
    }

    Just added $myexcerpt variable.

    Regards,
    Javier

    Hi Cohhe,

    I have exactly the same issue.
    Did you manage to find a solution?
    Can you post it here?

    Many thanks,
    Javier

Viewing 2 replies - 1 through 2 (of 2 total)