How can I change the author template to include another author (I have the user ID). I also need the RSS feed to include this author.
I think I need to do something like this: query_posts('author='.$user->ID.',4')
I've never modified a theme before. But I'm familiar with php. But I'm not sure where to put the code. Is there a hook to modify? I'm using the P2 theme (if that matters).
Not sure about that theme but should point you to Template Hierarchy and Author Templates.
Am I correct thinking that this might work?
Before The Loop in authors.php:
set_query_var('author', get_query_var('author').',4');
Or do I need to use query_post() directly?
$moreposts=get_posts('author=4);
if ($moreposts) (
//loop for author 4 posts
}
Thank you for your help!
Is it possible to mix the results? The current author + author 4. At the same time?
Not sure I know how to do that (mixing the results).