My Profile

[insert_php] if ( is_user_logged_in() ):
else :
header(“Location: http://www.papermech.net/login/”); /* Redirect browser */
exit();
endif;
[/insert_php]
[insert_php] $user_id = get_current_user_id();
echo get_wp_user_avatar( $user_id,’thumbnail’);
[/insert_php]
[insert_php] global $current_user;
get_currentuserinfo();
[/insert_php]

[insert_php] echo $current_user->user_login . “\n”;
[/insert_php]

[insert_php] echo $current_user->user_firstname . “\n”;
[/insert_php]
[insert_php] echo $current_user->user_lastname . “\n”;
[/insert_php]
[insert_php] echo $current_user->user_email . “\n”;
[/insert_php]
Edit Info
[insert_php] echo $current_user->description . “\n”;
[/insert_php]
[insert_php] if ( is_user_logged_in() ):

global $current_user;
get_currentuserinfo();
$author_query = array(‘posts_per_page’ => ‘-1′,’author’ => $current_user->ID);
$author_posts = new WP_Query($author_query);
while($author_posts->have_posts()) : $author_posts->the_post();
?>