Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to remove the [...] from the RSS feed widget.

I have tried adding the following to functions:

function replace_ellipsis($text) {

$return = str_replace('[...]', '-', $text);
 return $return;
}
add_filter('get_the_excerpt', 'replace_ellipsis');

However, this does not affect the widget.

Any help?

share|improve this question
1  
have you tried to use 'the_excerpt_rss' filter? or … in the string replace? –  Michael Jul 26 '12 at 13:48
    
@Micheal Should be an answer, not a comment. –  kaiser Jul 26 '12 at 18:55
    
Yes I've tried that. –  user18577 Jul 27 '12 at 12:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.