Thanks inecho, but the query i'd like is for use on the "author.php" template / the 'authors' page. Currently there you can list all of an authors posts on one blog just fine. Great. But I want to take it the next step and also include a link to the author's alternative blogs (and display excerpts from those blogs) within that same "authors" page on my main blog. Currently there's no simple query or hack i can find to do that.
Example:
so 'sally' has an 'authors' page at:
website.com/author/sally
she contributes to
[1] website.com
[2] sally.website.com
[999] sallys-other-blog.website.com
on her authors page (back on website.com/author/sally) it only lists her contributions to that blog (ID=1), but i'd like to show that sally has posts on blog 2, 999 AND 1.
does that make any sense?
i may simply be using the wrong code this basically my authors' template (authors.php):
<?php query_posts($query_string.'&posts_per_page=4'); if (have_posts()) : echo "\n"; while (have_posts()) : the_post(); ?>
<h3><?php the_title(); ?></h3>
<p><?php the_excerpt(); ?></p>
<a class="date" href=""><?php the_time('M jS') ?></a>
<a class="tag" href=""><?php the_category(', '); ?></a>
<?php comments_popup_link(__('<a class="comment" href="">Comment</a>'), __('<a class="comment" href="">Comments</a>'), __('<a class="comment" href="">Comments</a>')); ?>
<?php endwhile; else: ?>
<p><?php _e('No posts by this author.'); ?></p>
<?php endif; ?>
AHP Sitewide Recent Posts is great, I use it on my homepage to create a flow of the latest / active blogs.
Why this should exist (if it doesn't already)
even if Sally doesn't contribute to website.com (blog ID=1) she has (for an odd quirk of Wordpress' code maybe) an accessable author's page... where it explains 'no posts are available'. seems an obvious behaviour that there should be an option to list site-wide posts by this author. No?
- Callum