Beispiel #1
0
function author_meta_info($auth_id)
{
    $img_url = get_author_avatar_url($auth_id);
    $short_desc = author_excerpt($auth_id);
    return array('img_url' => $img_url, 'short_desc' => $short_desc);
}
</h2>
<div class="textwidget">
	<h5>Levde: <?php 
the_author_meta('fodd');
?>
 - <?php 
the_author_meta('dod');
?>
<br/>
	Födelseort: <?php 
the_author_meta('ort');
?>
</h5>
		<p class="author-bio"> <?php 
if (function_exists('author_excerpt')) {
    echo author_excerpt();
}
?>
</p>
		<p><a class="author-link" href="<?php 
echo esc_url(get_author_posts_url(get_the_author_meta('ID')));
?>
" rel="author">
				Se alla verk av <?php 
echo get_the_author();
?>
			</a>
		</p>
</div>
</section>
<section id="" class="widget">