Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.