Support » Fixing WordPress » Sharing posts between two installations

  • robw

    (@robw)


    I have two WordPress installations, which I’ll call Blog A and Blog B. They reside in the same database each with a different $table_prefix.

    They are separate except that the front page of Blog B displays a subset (restricted by author) of posts from Blog A, while still using its own theme, i.e., Blog B’s theme. The posts links back to Blog A.

    I’ve been able to get this to work with a hand-rolled query from within the theme for Blog B to the tables associated with Blog A. This works reasonably well, but I’m just dumping content from the database, using the guid field for the permalink, for instance.

    My problem: I would like to offer traditional WordPress features (automatic paragraph handling in particular, but also categories, tags, archives, etc.) in Blog B for the posts in Blog A. Categories and so on can link back to Blog A, as needed.

    Is this possible? Is there a better way I could be doing this?

    Thanks for any help you can offer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • robw

    (@robw)

    I’ll add some more info in case anyone can help.

    My overall goal is to syndicate content from a general news site (Blog A) to a sub-site (Blog B) based upon some criterion, like category or author. This way multiple users can post to a single site (A) and have the content show up on their subject-specific sub-sites (B, C, … Z.)

    I can do this with RSS, but I’d like to still have WordPress features like categories shared between installations.

    Has anyone else succeeded in doing this before? Is it possible, for instance, to have a single page from one installation use its own theme but the content from another?

    I’d also be curious to hear how other users have done this, or robw, if you’ve been successful, how you did it. Did you ever have any luck?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sharing posts between two installations’ is closed to new replies.