Read More button always visible

Hi,

The ‘Read More’ button is always visible at the bottom of a post, no matter if the ‘Read More Tag’ is in use or not.

Furthermore, clicking on the ‘Read More’ button on a homepage post will not take you to the full post. It will only display the same excerpt with another ‘Read More’ button.

I noticed this happening since Jetpack’s latest update (5 Aug, 2014). Is this related to the problem?

Thanks,
Mark

@foofango

This is definitely not related to Jetpack or theme itself. Most likely you have attempted to modify theme files to make “Read More” button to act differently. Other thing is that you might use next-page tag instead of read-more tag but that way you would get pagination, not read more button.
You can see on our theme demo how it actually should work and works by default with no custom implementations and Jetpack installed and updated (Jetpack does nothing in this case, but just for sake of clarification)

To make read more button to work default way you should get rid of existing button inside content.php file. By removing this line

<p><a class="btn btn-default read-more" href="<?php the_permalink(); ?>"><?php _e( 'Read More', 'sparkling' ); ?></a></p>

Afterwards you should add this code to functions.php file.

function sparkling_excerpt_more( $more ) {
  return ' <a class="read-more btn btn-default" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', 'sparkling') . '</a>';
}
add_filter( 'excerpt_more', 'sparkling_excerpt_more' );

These changes can be done via Child Theme as well.

Hi, Aigars.
I did it to correct Read More button, but, now home page shows my posts completely and Read More button appear only slider. What should I do?
My home page: marceleandrade.com.br