I’m dealing with an RSS feed problem that is making me crazy. I have begun manually incorporating in my recent blog posts in order to cut off the post at the desired spot and entice people to click to the post page in order to finish reading. In other words, I’m manually specifying the length of the teaser by inserting .
My site works exactly how I want it to work, but I want my RSS feed to function in the same way. In other words, I want the post in my RSS feed to cut off at and link to the original post so subscribers have to visit my site to continue reading.
I know that this is possible because some of my favorite blogs work this way (for example, 101cookbooks.com and smittenkitchen.com). I don’t want to just see a text excerpt/summary feed. I want the text and photos up to the code to display in my feed exactly as they do on my home page! Please help! I’ve googled and googled and I can’t find the answer.
Here’s a link to a code snippet that you can put in functions.php to do what you want.
By default, the RSS feed either shows the entire article when set to show “Full Text” in the Reading Settings or it shows the Excerpt field when set to “Summary.”
Support for the tag can only be done through a plugin or theme snippet.
EDIT: I wasn’t thrilled with how that snippet above worked and so went searching more. I’ll leave it for posterity, but I’d look into using this snippet instead. It actually enables the “more” feature rather than trying to recreate it. I haven’t tried it, but it looks right.