. */ function add_author_twitter( $contactmethods ) { $contactmethods['twitter'] = 'Twitter Username'; return $contactmethods; } add_filter('user_contactmethods','add_author_twitter',10,1); function authortweets_css() { $authortweetscss = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__)).'/authortweets.css'; echo ''; } add_action('wp_head', 'authortweets_css'); function authortweets_box( $content='' ) { if( is_single() ) { $content .= '

' .'

About the Author

' .get_avatar( get_the_author_email(), '60' ) .'

'.get_the_author_firstname().' ' .get_the_author_lastname().' Has Written ' .get_the_author_posts().' Articles For Us!

' .get_the_author_meta( 'description' ).'
' .'
Getting The Latest Tweet...
' .'' .''; $author = get_the_author(); $content .= '
Did you know '.get_the_author_firstname().' has a '.__("").''.__("website").'? Go see what you're missing...
'; $author_twitter = get_the_author_meta('twitter'); $content .= '
'; } return $content; } add_filter('the_content', 'authortweets_box'); ?>