Hi,
I want to show a different theme for each author in my WordPress blog. I want it to work for posts as well as pages. The thing is, I can't get it to work, with one exception. I used the next code.
<?php
if (is_author('Rick')) {include(TEMPLATEPATH . '/rick_header.php');}
elseif (is_author('Sabine')) {include(TEMPLATEPATH . '/sabine_header.php');}
elseif (is_author('Nicole')) {include(TEMPLATEPATH . '/nicole_header.php');}
elseif (is_author('Paula')) {include(TEMPLATEPATH . '/paula_header.php');}
else {include (TEMPLATEPATH . '/header.php');}
?>
When I go to the archive for the Author on http://www.mysite.nl/author/authorname it shows the theme I want it to show for each user. But it doesn't work on any other page, not on single.php, not on the pages I generated, nothing. It just doesn't work.
Does anyone know what I'm missing here? I must overlook something, because it works on the author archive page, but that's the only page it works on.
Thanks!
Casper