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 have seen a bug on my website. It appeared just few days back and was not present before so I am suspecting a plugin updgrade to be the reason for it. The problem is that when I open a post for reading, it shows me [...] after about 300 characters(just guessing the characters). This is the same truncation that is done on the page which shows the list of all articles on my website. How can I remove it? Please help me out. Thanks

share|improve this question
2  
Its not a bug! Its called an excerpt, and the [...] is called an ellipsis, means there is more content than what is seen over here! Use a filter if you're familiar with, or switch the theme! –  Rutwick Gangurde Apr 10 '12 at 5:21
    
Related: wordpress.stackexchange.com/questions/47808/… –  Geert Apr 10 '12 at 7:12
    
it seems that the single.php template is showing the excerpt and the content. have you edited single.php in any way? what happens if you deactivate all plugins? –  Michael Apr 10 '12 at 9:19
    
@Michael: I tried to deactivate all plugins and then see what happens but ellipsis was still there. I created a filter for it and it works fine now. –  Fahad Uddin Apr 10 '12 at 9:54
    
it has not changed the fact that the first few lines in a single post are still double - just without the dots ... next step would be to look into single.php to see if anything has changed there. –  Michael Apr 10 '12 at 11:02

1 Answer 1

If you place the following in your functions.php it will remove it. Hope it helps!

add_filter( 'excerpt_more', 'my_remove_excerpt_more' );

function my_remove_excerpt_more() {
    return '';
}
share|improve this answer
    
Thanks alot. It worked. –  Fahad Uddin Apr 10 '12 at 9:53

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.