• [ Moderator note: please wrap code in backticks or use the code button. ]

    I’m using theme ‘WPstart’ my website is https://www.visual-ess.com

    Anyway, I understand you can get rid of ‘read-more’ from blog post to show the full blog post by changing the_excerpt(); to the_content (); but I cannot find the line to change in any of my .php pages.

    the only code that I can find which includes the word ‘excerpt’ is:

    /* "Read more" link: replace "[...]" with "..." in automatically generated excerpts */
    function wpstart_auto_excerpt_more( $more ) {
    	return '…' . wpstart_read_more_link();
    }
    add_filter( 'excerpt_more', 'wpstart_auto_excerpt_more' );
    
    /* "Read more" link: add "Read more" link to custom post excerpts. */
    function wpstart_custom_excerpt_more( $output ) {
    	if ( has_excerpt() && ! is_attachment() ) {
    		$output .= wpstart_read_more_link();
    	}
    	return $output;
    }
    add_filter( 'get_the_content', 'wpstart_custom_excerpt_more' );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get rid of 'read more' link and show full post’ is closed to new replies.