0

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

7
  • 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. – user2238 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
2

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 '';
}
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy