I have a situation where i need to display posts from a specific category from another wordpress site into my wordpress site.

Both are my sites and i thought of creating a page specially for this in site A and calling them through iframe in site B.

I thought another way of fetching them feed.. But i dont know how to fetch feed contents from other wordpress and how to create a feed for a specific category.


2 Answers 2


Instead of parsing the RSS feed, you could query the second blog directly with the builtin XML-RPC webservices, described in this Question.

  • Actually in my case i didn't want to have posts on both wordpress database.. I just want to display one random post from a specific category from Site A.
    – Vijay
    Jun 3, 2011 at 9:52
  • You don't have to "sync" the posts like discribed in the above question. But you could just query the second blog with XML-RPC. Use the XML-RPC client on site A, query site B and return your random post.
    – Roman
    Jun 3, 2011 at 10:00

I think RSS is a great option here.

To get a feed for a specific category, you simply add /feed/ to the end of the URL (or if you don't use permalinks, add ?feed=rss2 or &feed=rss2).

@Nickiler linked to a great post on getting RSS content: Load custom post type in a different WordPress installation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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