http://codex.wordpress.org/Function_Reference/post_class
http://codex.wordpress.org/Function_Reference/the_author_meta
da 'post_class()' keine autoren-info ausgibt, muss das erst per filter erstellt werden;
das hier kommt in die functions.php (wenn vorhanden, in functions.php vom Twenty Eleven child-theme http://codex.wordpress.org/Child_Themes ):
PHP
//add the author nicename as post class .author-nicename
function author_nicename_post_class($classes) {
global $post;
$author_nicename = get_the_author_meta('user_nicename',$post->post_author);
$classes[] = 'author-'.$author_nicename;
return $classes;
}
add_filter('post_class', 'author_nicename_post_class');
beispiel:
name der autoren: 'Werner Wernersen' und 'Kalle Kiel'
dann ist die ausgegebene css post_class:
[FONT=Courier New][COLOR=blue].author-werner-wernersen[/COLOR][/FONT]
bzw.
[FONT=Courier New][COLOR=blue].author-kalle-kiel[/COLOR][/FONT]
und in die style.css kann dann zB: