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.

I'm trying to move back to WP for our blog, after struggling with a clunky CMS for a few years, but we'll be sticking with that CMS for the rest of the site. Is there a plugin (or code) that I can use to pull the recent posts in a particular category from my WP blog to the sidebar of my non-WP site? Assume full permissions on both the WP blog and the external site.

share|improve this question
    
Like wordpress.stackexchange.com/questions/45039/…, but with categories. –  Christine Letts Jul 26 '12 at 16:16

1 Answer 1

up vote 2 down vote accepted

The easy way is to just use a PHP based reader and parse/output the results. Maybe your CMS already has one but if not and it's based on PHP you can use,

Then you simple point it to your categories /feed, like --> www.example.com/your_category/feed

You can easily customize a feed to show whatever you want http://codex.wordpress.org/Customizing_Feeds

That way you can have a feed that only shows recent posts from one category using WP Query, you just have to point your reader to it.

Alternatives you can try via a plugin that allow for external HTTP requests:

Hookpress
JSON API

share|improve this answer
    
My organization is pretty skeptical of RSS integration with our site -- apparently they tried it a while back and it was slow and unreliable. Other options? –  Christine Letts Jul 26 '12 at 20:31
    
There is nothing particular slow about a feed since it's completely in your control. A good alternative is hookpress or a json API. I'll add them as links to the above. –  Wyck Jul 26 '12 at 23:40

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.