Reply To: Change masonry block size/content?

Home Forums Support Change masonry block size/content? Reply To: Change masonry block size/content?

Home Forums Support Change masonry block size/content? Reply To: Change masonry block size/content?

#91749
Tom
Lead Developer
Lead Developer

Ah ok, maybe you’re using the More tag.

Use this entire block to disable the read more and ellipses in excerpts and while using the more tag:

if ( ! function_exists( 'generate_remove_excerpt_more' ) ) :
	/**
	 * Removes the read more link from excerpts
	 */
	add_filter( 'excerpt_more', 'generate_remove_excerpt_more', 100 );
	function generate_remove_excerpt_more( $more ) {
		return '';
	}
endif;

if ( ! function_exists( 'generate_remove_content_more' ) ) :
	/**
	 * Removes the read more tag from content with more tag
	 */
	add_filter( 'the_content_more_link', 'generate_remove_content_more', 100 );
	function generate_remove_content_more( $more ) {
		return '';
	}
endif;