-
I have noticed that the page of a specific user, let’s say
example.com/profile/profilename
uses the page title of the root profile page, in this caseexample.com/profile
instead of showing the name of the user shown onexample.com/profile/profilename
Example:
example.com/profile/alexandreas
-> now shows page title: ‘ My profile | Example.com ‘ instead of ‘ Alexander Dumas | Example.com ‘ (if the name of the user alexandreas is Alexander Dumas OR ‘ Alexandreas | Example.com ‘ if the user did not submit a name
At is shows the same no matter the /profile/usernameHere are the issues:
1. Whenever I explore somebody else’s profile the name of the page is ‘My profile’ (or whatever you name the /profile page, it isn’t loading the name of the user.
2. It’s a bummer because if a few users share their profile page in the same place *let’s say on facebook*, all the links look kind of the same, instead of each showing the name of the user.
My workaround was to name the
example.com/page
just ‘Profile’, instead of ‘My Profile’, because it won’t be used just for my profile, but for all of them.Did anybody find another workaround, I am missing smth ?
10xIn the .po you can translate “My Profil” to whatever you want 🙂
@Nexnivis, thanks for the quick reply but I’m not talking about the word itself. I know I can change the word “My profile” into something else, and I don’t even need to access the .po, I just need to change the name of the profile page.
The problem is that wordpress doesn’t load in a dynamic way the name of the User whose page is accesed into the page title.
For example on this forum you and I an all of us have the same word as page title to all our profile pages. In this case, the words are ‘My profile’.Look for youself:
http://userproplugin.com/userpro/profile/rafilathif/
http://userproplugin.com/userpro/profile/Nexnivis/
http://userproplugin.com/userpro/profile/Iulian-Barbuceanu/
Imagine browsing a community and opening new tabs for a few members. All the tabs of your browser are gonna show “My profile – UserPro” “My profile – UserPro” … instead of “Rafilathif – Userpro”, “Nexnivis – Userpro”, “Iulian – Userpro”
Now did you spot the issue also ? 🙂
I understand clearly now 🙂 And i’ve to agree with you, it could be very usefull if the page name could be the display name !
I’ll post this as a tutorial in the new documentation portal. I am still working on it. 🙂
You must be logged in to reply to this topic.