Posts from 2 WP blogs on external site
-
Hi all,
I’m wondering, considering that you must pull the wp-blog-header.php into the external page, if this could be done for multiple WP blogs.My attempts to do so resulted in posts only from the 1st include on the page – first come-first serve I guess?
Is there a way to do this?
Something like:
<?php // Include WordPress #1 require('sportsblog/wp-blog-header.php'); query_posts ('cat=5&meta_key=priority&orderby=meta_value&order=ASC'); ?> <?php // Include WordPress #1 require('wpnews/wp-blog-header.php'); query_posts ('cat=5&meta_key=priority&orderby=meta_value&order=ASC'); ?>
My PHP/MySQL is not very good so I may be just missing a trick.
Thanks so much for any advice! ??
Daf
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Posts from 2 WP blogs on external site’ is closed to new replies.