Archived topic
I want to remove “read more…” excerpt function in rss feed
5 replies · Started by loop on February 17, 2020
which code should I edit?
Hi there,
Looks like you are using Elementor to display posts so have you checked with their support?
Let me know :)
How about under each individual category? It's consider under GP right?
Hi there,
Do you want no read more option at all?
If not, try this:
add_filter( 'generate_excerpt_more_output', function( $more ) {
if ( is_feed() ) {
return '';
}
return $more;
} );
add_filter( 'the_content_more_link', function( $more ) {
if ( is_feed() ) {
return '';
}
return $more;
} );
Hi Tom, I've placed the code in functions.php but it's not reflecting any changes :(
Strange, do what do you have set as the "For each post in a feed, include:" option in Settings > General?