WordPress.org

Ready to get started?Download WordPress

Forums

Adding an image to the_excerpt_rss() ? (1 post)

  1. tvallier
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic