WordPress.org

Ready to get started?Download WordPress

Forums

Multiple blogs, multiple loops (3 posts)

  1. maerk
    Member
    Posted 7 years ago #

    I have a number of WordPress installations and want to show the latest two posts from each blog on the front page of the site.

    I have tried using multiple loops, but once I've connected to one blog (with get_posts, query_posts or even starting a new WP_Query) it won't connect to another blog. I.e., it just shows the same two posts from the first two blogs.

    I know you can do this with feeds, but I would prefer to do it using wordpress methods since that would be more efficient.

  2. moshu
    Member
    Posted 7 years ago #

    Actually, the RSS method is more efficient since it doesn't mean new hits (queries) to the database.
    And here is how to do it with a "WP method":
    http://wordpress.org/support/topic/63249?replies=16#post-376454

  3. maerk
    Member
    Posted 7 years ago #

    Isn't the feed generated on demand? If so that would mean more queries being needed.

    I think I'm going to use WordPress MU, actually, it seems to make more sense for the project I'm working on.

    Thanks for replying tho ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags