I have a main page where i want to show up the latest post content of two or more blogs.. for now I have this code :
<?php
// Include WordPress Blog 1
define('WP_USE_THEMES', false);
require('./blog1/wp-load.php');
?>
<?php query_posts('showposts=3');?>
<?php while (have_posts()): the_post(); ?>
some of my blog 1 stuff.. .
<?php endwhile; ?>
<?php wp_reset_query();?>
<?php
// Include WordPress Blog 2
define('WP_USE_THEMES', false);
require('./blog2/wp-load.php');
?>
<?php query_posts('showposts=3');?>
<?php while (have_posts()): the_post(); ?>
some of my blog 2 stuff.. .
<?php endwhile; ?>
<?php wp_reset_query();?>
blog no. 1 is showing it's content but blog no. 2 doesn't show up the content.. .how can I reconstruct them both to work in one page which is my main page... are this possible to reconstruct?