Is there a way to display, via a PHP function, the author posts link (myblog.com/author/jason) of the current logged in user ?

In fact, I would like to display, for every logged in user, a “My personnal page” link which links toward his author page.

Thanks !

2 Answers
2

<?php 
global $current_user;
get_currentuserinfo();
echo get_author_posts_url($current_user->ID); 
?>

Leave a Reply

Your email address will not be published. Required fields are marked *