WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The objective is to fetch fields associated with a specific post id to create a custom rss feed.

It is required to use functions like the_content_feed('rss2') , the_excerpt_rss() etc outside the loop to fill the rss template.

How to accomplish this (use such functions outside the loop)?

share|improve this question

you can create your own custom rss template and create thr loop inside it so you will have easy access to loop only function

take a look at this answer that shows how to create your custom rss How to create additional full text RSS feeds

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.