' . $content);
}
else {
$content.= display_author_box();
}
}
If(is_page() && get_option('bio_on_page')) {
If (get_option('bio_on_top')) {
$content = (display_author_box() . '
' . $content);
}
else {
$content.= display_author_box();
}
}
}
return $content;
}
function author_description() {
global $post;
$source = get_post_meta($post->ID, 'author_desc', true);
if (get_option('custom_profile_field')) {
$customprofilefield = get_the_author_meta( get_option('custom_profile_field'), $user->ID );
}
if ($source) {
return $source; }
elseif ($customprofilefield) {
return $customprofilefield;
} else {
return get_the_author_description();
}
}
function author_box_display_status() {
global $post;
$source = get_post_meta($post->ID, 'author_disp', true);
if (strtolower($source) == 'no') {
return false; }
else {
return true; }
}
function display_author_box() {
$author_post_line='
'.get_the_author_meta('display_name').' – who has written '. get_the_author_posts().' posts on '.get_bloginfo("name").'.
'; If (!get_option('email_on_profile')) { If (get_option('images_on_profile')) { $display_author_email='