Hi, all.
I have a multisite set up, with 4 blogs.
I need to display the latest post from one of those blogs on another website. I tried this: http://www.corvidworks.com/articles/wordpress-content-on-other-pages but it doesn't work, it just redirects to the "root" blog of the multisite install.
Anyone know how I can get this to work on a multisite install?
Thanks.
Can you pull the rss feed?
Yes, but I need to display the whole post
I think you're going to have to sort out how to plunk switch_to_blog() in there to switch to the right blog.
Hmm.. I don't think that works outside of a WP install (?).
I need to put it on a regular html site (or php, whatever).
tdmarsol
Member
Posted 1 year ago #
You could create a PHP solution from the site that needs to pull the content.
It look like this plugin could create an XML version of each post:
http://wordpress.org/extend/plugins/post-xml-for-simpleviewer/
The PHP script could go get the XML-generated content from above, assemble the pieces, wrap it in some css tags, and display it on the remote site.
If you wanted to be fancy, you could also use AJAX to either run the PHP script, or go get the material directly if they are on the same domain.