Use external URL in feed’s link element
-
Hi,
I would like to change the RSS feed so that
<link></link>
does not contain the link to the post but to an external source. When readers load the feed they would see the post’s title and text/abstract but when they click on the title they would go to that external source. (I need that for Mailchimp’s regular newsletters that draw their information from a feed.)Ideally this would work together with the post format “link” so that the first URL in the content could be used.
I’m aware of the filter the_content_feed and the possibility to add own templates to /wp-includes/ (and probably lose them with the next update) but I actually don’t want to change the content but only
<link>
element. I’d also prefer to avoid setting up redirections for each post permalink.Any ideas how to achieve that? Thanks!
- The topic ‘Use external URL in feed’s link element’ is closed to new replies.