Breaking News
You are here : Home / Wordpress / Add Featured Image to WordPress Feed
Wordpress Add Featured Image in Feed

Add Featured Image to WordPress Feed

hi Guys, Recently I’ve Come Around Problem That i have to add my featured Image to My wordpress Post Feeds.I Found A Solutions So i thought That’s good If I share that . So Here it is “How to Add Featured Image to Your WordPress Feed”. That is Not that Hard.What you need is Little Understanding of wordpress Filters.

The WordPress Filters Are actually Used In Many Plugin to Modify things or add New Features Or Advertisement Code.We are Doing Same thing Here To add Featured Image to WordPress RSS Feed.

Add Featured Image to WordPress Feed

Okay So Im Gonna Put Code Here and Expalin it Below it.We area gonna use Filters Listed Below:

  1. the_excerpt_rss (Excerpt Filter)
  2. the_content_feed (Feed Content Filter)

That was Easy. What we actually have created Is We Gonna Create a Function and Tell Wordress To Use this Function with the Specified Filter.

The Function Receives a Content variable ..We have Just Appended or Prepended the The Image to The Content Variable.



Tags : , ,

Leave a Reply

Want to join the discussion ? Feel Free to contribute !