Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support "read-more" link inline Reply To: "read-more" link inline


Hi Tom,

The empty string (“”) is not the same as null but false does get treated as an empty string so that’s why false worked as the first argument to “the_content”.

After adding the code changes you suggested it still didn’t work. To get it to work, I added the following code (in addition to your change to wp-show-posts.php):

add_filter( 'the_content_more_link', function() {
    return 'Read more';
} );
add_filter( 'wpsp_content_more_link, function() {
    return null;
} );

The reason your suggested addition didn’t work was probably related to the following:
plugins/gp-premium/blog/functions/generate-blog.php: add_filter( ‘the_content_more_link’, ‘generate_blog_content_more’, 15 );