Direct Link to user’s profile

8.18K viewsCore
0

Is there a way to put a direct link to the user’s profile in the the WP navigation menus? I saw that user’s directory uses http://ANSPRESS_USERS_PAGE_URL to add a link. I want to give users a link to get to their profile directly, is there a similar method for that?

1

Hi @Peter!

You might be looking for a more technical answer but here is a little trick that I found. This simple url is showing the logged in user profile : http://anspress.io/questions/user/ (click to check your Open-WP profile). 😉 As long as you respect the url structure (http://mydomain.com/anspress-path/user/), it can work on any site. I use it in a conditional menu item, so that it only shows up when someone is logged in.

Pro
– super easy to implement without any technical knowledge : you just add this link in a menu item ! 😎

Con
– it is not actually redirecting to the user profile page, so the user won’t be able to get his REAL profile url (for sharing for instance)

Don’t know if it will help. For a more technical insight, try to search for “profile link” : there is already a few threads with some answers. 😉

You are viewing 1 out of 4 answers, click here to view all answers.