Viewing 3 replies - 1 through 3 (of 3 total)
  • Brook

    (@brook-tribe)

    Howdy FryVisuals,

    That sounds like a possible conflict with your theme. Whether the ellipsis is getting generated automatically, or you are manually inserting on in “The Excerpt” box on the event edit screen, it should and does show up properly for me. However if a theme or plugin were excaping the content before it gets loaded by The Events Calendar, then it would show up as …

    In order to proceed you will need to test if a “conflict” is happening, and if so narrow it down so a fix can be found for it.?This guide?walks you through how to test for a conflict,?and then?identify what is conflicting.

    Cheers!
    – Brook

    Thread Starter Fryvisuals

    (@fryvisuals)

    Thanks for the reply.

    I found in my parent theme’s functions file.

    // Custom Excerpt
    function colabs_custom_excerpt( $limit = 30 ,$more = '…' ) {
    	global $post;
    	$print_excerpt = '<p>';
    	$output = $post->post_excerpt;
    	if ($output!=''){
    		$print_excerpt .= $output;
    	}else{
    		$content = get_the_content('');
    		$content = strip_shortcodes( $content );
    		$content = apply_filters('the_content', $content);
    		$content = str_replace(']]>', ']]>', $content);
    		$content = strip_tags($content);
    		$excerpt = explode(' ',$content, $limit);
    		array_pop($excerpt);
    		$print_excerpt .= implode(" ",$excerpt).$more;
    	}
    	$print_excerpt .= '</p>';
    	echo $print_excerpt;
    }

    I replaced tribe-events/list/single-event.php “the_excerpt()” with colabs_custom_excerpt(75).

    Fixed the issue

    Hey @fryvisuals,

    Glad to hear this is resolved, and thanks for sharing your fix here!

    Best,
    Nico

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Excerpt ellipses not displaying properly’ is closed to new replies.