Manually Link to Author Page
-
Is it possible to manually link to a author page depending on which user is logged in?
Once a user is logged in and I would like a link to appear which will take them to their own author page.
I’m currently trying to edit the Sidebar Login Plugin From:
$link[0] = str_replace('%userid%',$current_user->ID,$link[0]); echo '<li class="page_item">'.$link[0].'</li>';
to
$link[0] = str_replace('%userid%',$current_user->ID,$link[0]); echo '<li class="page_item"><a href="https://www.ceativityds.com/admin/$curauth">'.Profile.'</a></li>'; echo '<li class="page_item">'.$link[0].'</li>';
But I am currently stuck with:
echo '<li class="page_item"><a href="https://www.ceativityds.com/admin/$curauth">'.Profile.'</a></li>';
Any idea how I can edit this?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Manually Link to Author Page’ is closed to new replies.