• Howdy,

    I’ve got two WP installs running happily in separate subdomains.

    The homepage — an independent, non-Wordpress page — has successfully been displaying the plugin content from one of the blogs by including the wp-config.php file:

    <?php require("/home/account/public_html/blog1/wp-config.php"); ?>
    <?php recent_posts(); ?>

    This was happy times until today, when I needed to pull content from the second WordPress install into the homepage…

    It would seem that WP functions aren’t being loaded/included when the second file is called, and as a result, I’m seeing only content from blog1.

    Thoughts on how to tackle this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Depending on the content… you may want to try to pull the RSS feeds from the second blog.
    (No, you can’t access two DBs with the method you posted)

    Thread Starter travelvice

    (@travelvice)

    Any other ideas minus an RSS feed import, or writing the output the needed function to a textfile (with a cron job?) that’s then imported?

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

The topic ‘Multiblog Function Calls on an External Page’ is closed to new replies.