Adding an image to the_excerpt_rss() ?
-
Hey,
I’m working with a client who’s been having a problem with content scrapers, so he decided to drop town to the excerpt RSS feed instead of a full feed… But he wants to add an image.
I’ve built a little function that will go through the post and pull the URL of the first image, but I can’t figure out how to tie it into the the_excerpt_rss() function.
I’ve ripped open feed-rss2.php and thought I found the lines, but any changes I make there doesn’t show anywhere.
Ideally, there’s an add_action() or an add_filter() call that I could use – but I don’t know of any.
Any thoughts?
- The topic ‘Adding an image to the_excerpt_rss() ?’ is closed to new replies.