Site logo

[Support request] I want to remove “read more…” excerpt function in rss feed

Home Forums Support [Support request] I want to remove “read more…” excerpt function in rss feed

Home Forums Support I want to remove “read more…” excerpt function in rss feed

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1168256
    loop

    which code should I edit?

    #1168360
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like you are using Elementor to display posts so have you checked with their support?

    Let me know 🙂

    #1169214
    loop

    How about under each individual category? It’s consider under GP right?

    #1169840
    Tom
    Lead Developer
    Lead Developer

    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;
    } );
    #1172212
    loop

    Hi Tom, I’ve placed the code in functions.php but it’s not reflecting any changes 🙁

    #1172819
    Tom
    Lead Developer
    Lead Developer

    Strange, do what do you have set as the “For each post in a feed, include:” option in Settings > General?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.