The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. tvallier
    Posted 6 years ago #


    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