Call from a side widget link the myProfileLink();?
Quote from tehnicus on December 28, 2019, 2:03 pmHello.
I want to add “Profile” as a link into the side widgets. Is there an easy way to call the myProfileLink() from outside the plugin?
In other words it’s easy to add
Members | Subscriptions | Activity | Logout
to a side widget because they are direct links but this profile link is user dependent.
Thank you.
Hello.
I want to add “Profile” as a link into the side widgets. Is there an easy way to call the myProfileLink() from outside the plugin?
In other words it’s easy to add
Members | Subscriptions | Activity | Logout
to a side widget because they are direct links but this profile link is user dependent.
Thank you.
Quote from tehnicus on December 28, 2019, 9:16 pmI sorted it out… if anybody wants to do the same here is the way I did it
echo ‘Welcome: <a href=”http://www.yourwebsite.com/forum/profile/’ . $current_user->user_login . ‘”>’. $current_user->user_login .'</a><br />’;
I sorted it out… if anybody wants to do the same here is the way I did it
echo ‘Welcome: <a href=”http://www.yourwebsite.com/forum/profile/’ . $current_user->user_login . ‘”>’. $current_user->user_login .'</a><br />’;