Support » Plugins and Hacks » Displaying a wordpress post on a separate site

  • I’ve got 2 sites: a main site (call it MS) and a wordpress blog (call it WP). I’d like to display a blog post or teaser from WP on the front page of MS. Ideally, it would be inlined with an IFRame or something like that.

    I just want the HTML for the post/teaser, and none of the sidebars/headers/navigation/etc.

    Like I said, I’d prefer to use an IFrame, but I can get more exotic with that if necessary. MS is written in Ruby on Rails and I can do pretty much anything there (like pull down WP’s RSS feed, extract the HTML, and display like that), but I’d prefer to avoid any complicated programming if I can.

Viewing 1 replies (of 1 total)
  • So after thinking for 30 minutes, I have something to try. I’ll iframe the main WP page, then use CSS to hide all the WP headers, nav, and whatnot, leaving only the post. We’ll see how well that works.

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying a wordpress post on a separate site’ is closed to new replies.