WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.