Display posts of one wordpress site on another wordpress site
I want to access 开发者_开发问答and display posts/categories/tags of my one wordpress site to another wordpress site. So how can I do this? Can some one tell me this?
You have to use RSS feed http://codex.wordpress.org/WordPress_Feeds You can parse RSS as an XML file using PHP A RSS reader http://apptools.com/phptools/xml/rss.php
If you have set up wordpress multisite then you can do it by using switch_to_blog() function.
Another option is to use data scraper plugin, through this you can display data of one page/post on another wordpress site all based on div id
http://wordpress.org/plugins/wp-web-scraper/
精彩评论