link from the dashboard to the public profile page
-
How do I make a link from the dashboard to the public profile page
We have an online-magazine (www.ci-jou.de) where registered users can publish their articles. For each user there is a public profile page (made by author.php) Mine is here: http://www.ci-jou.de/?author=3
Now I would like to have a link from the dashboard to the public profile page.
I tried the following on admin-header.php in file wp-admin:
<a href="http://www.ci-jou.de/?author=$user_ID"><?php _e('Profilseite'); ?></a>
But this does not work. It only shows the empty profile (author.php), but not with the data of the user.
I think I have to write something different than $user_ID, but I don’t really know what.
I also tried it with the template tag
<?php the_author_posts_link(); ?>
But this doesn’t work either.Hope anyone can help.
Songline
- The topic ‘link from the dashboard to the public profile page’ is closed to new replies.