'; //show author avatar if($smof_data['afc_author_info']['avatar'] == true){ $output .= '
'. get_avatar( get_the_author_meta('ID'), 100 ). '
'; } $output .= '
'; //show title for the box if($smof_data['afc_author_info']['title'] == true){ $name = sprintf($smof_data['afc_author_title'], get_the_author_meta( 'display_name' )); $output .= '

' . $name . '

'; } //show author biography if($smof_data['afc_author_info']['bio'] == true){ $output .= '
' . get_the_author_meta( 'description' ) . '
'; } //show author social profiles links of current author if($smof_data['afc_author_info']['social'] == true){ $output .= afc_profile_buttons(); } //show a link to all posts of the current author if($smof_data['afc_author_info']['posts_link'] == true){ $output .= ''; return $output; } } ?>