I got 2 separate installations of WordPress, one on the main site and other on the sub-domain. Is there a possibility of showing posts from sub-domain on the main site, along with the articles of the main site. Like, every alternate article displayed, be from the sub-domain irrespective of the date published.
I read this article, but wasn't able to achieve what I wanted: How to show recent post in the main domain from subdomain blog
Here are the functions.php, index.php and single.php files of the theme I'm using:
- Functions.php http://pastebin.com/s3tfdnB2
- Index.php http://pastebin.com/nxtMZzLq
- Single.php http://pastebin.com/sgpfvtVe
Any help would be highly appreciated. Thanks.