We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support remove "read more" button & feature request Reply To: remove "read more" button & feature request

#3818
Tom
Keymaster

Ah gotcha.

Try this function:

add_filter( 'wpsp_read_more_output', 'tu_alter_read_more' );
function tu_alter_read_more() {
	printf( '<div class="wpsp-read-more"><a title="%1$s" href="%2$s">%3$s</a></div>',
		the_title_attribute( 'echo=0' ),
		esc_url( get_permalink() ),
		'Read more'
	);
}