• Hi,

    i’ve got 3 different wp 2.7 installations on one server. I’d like to present the articles of ONE of the blogs on the 2 other sites.

    I’ve tried the “FeedWordPress”-Plugin. It does sth close to the solution: It aggregates the feed and converts it to articles. But if I change or delete an article, the plugin doesn’t change the fetched articles.

    Because the different WP Installations are on the same server, it should be possible to query the articles directly from the database… Like wp_query but for external WordPress Installations.

    Has anybody tried something like that before?

    Thanks for reading!

Viewing 1 replies (of 1 total)
  • Thread Starter gegenalles

    (@gegenalles)

    Seems that I could answer the question myself:

    <?php
    require('../my-directory/wp-blog-header.php');
    ?>
    <p>Recent Posts:</p>
    <ul>
    <?php while (have_posts()) : the_post(); ?>
    	<h2><?php the_title(); ?> </h2>
    	<p><?php the_content(); ?> </p>
    <?php endwhile; ?>
    </ul>

    I’ve found the above piece of code in the forums. Shame on me.

Viewing 1 replies (of 1 total)
  • The topic ‘Combining multiple blogs onto one Place’ is closed to new replies.