Remove More From Feeds (Redo on Upgrade)
Trackback or
Categories: TumblogPosted on Thursday, April 5, 2007 by Tim Fehlman
WordPress › Support » Full-text feed and the tag:
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?It took me a long time to figure this one out, it is actually easier than it seems.
Open up wp-includes/post-template.php
Find the line that reads (it’s inside the function named get_the_content):
if ( preg_match('/<!--more(.+?)?-->/', $content, $matches) ) {And change it into this:
if ( preg_match('/<!--more(.+?)?-->/', $content, $matches) && !is_feed() ) {And now you have partial posts on home page and a full feed!
