UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Customization Help / Requests/Displaying the right name in title

Displaying the right name in title

profile
  • 9 years ago Avatarjeditricks007
    Participant

    Hey guys so I am a bit stumped. When you click a users name it goes to there profile page. However the heading of that page says my profile. I want to change that to echo the users name. I also want to change this above on the tab it says my profile instead of a name.

    I did this but it did not work

    <div class=”container”>
    <h1> <?php

    echo userpro_profile_data(‘first_name’, $user_id);
    ?> </h1>
    </div>

    I am really stuck guys, someone please help :]

    9 years ago Avataradmin
    Keymaster

    What are you trying to do exactly and where? on profile page? on author page? 🙂

    9 years ago Avatarjeditricks007
    Participant

    I am trying to change two things. One is the title tag, for seo purposes I want it to display users name or display name. I do not want it to say profile. The second thing I want to change is the heading to display the users name so if you click the users profile you will see the heading. I know I have to do this php with a page template. The code above is what I tried.

    Also I am running into a problem with bookmarks all of a sudden not working. I am going to reinstall it.

    9 years ago Avatarjeditricks007
    Participant

    For example http://userproplugin.com/userpro/profile/headfunder/

    The title tag says UserPro | My Profile – User Pro

    I think it would be way better if it said HeadFunder | User-Pro (or something similar to this)

    Thats what I am trying to change on my site when I am talking about the title tag

    This way every user could index in the search engines. This is critical for SEO. It also looks way better.

    The heading for example is where it says My Profile right below the menu.

    These are two really good examples so you know what I am talking about.

    9 years ago AvatarCedric Rouanet
    Participant

    +1 , we have realy good seo link but no meta title possibility :/

    9 years ago Avataradmin
    Keymaster

    Each theme configuration is DIFFERENT. You can apply this to your theme, but you need to hook into the title function and change the URL dynamically. I can’t give one solution that should work on all themes. 🙂

    9 years ago Avatarjeditricks007
    Participant

    Ahmed do you know where we learn how to do this? Is there anything I could read to learn how to do it?

    9 years ago Avataradmin
    Keymaster

    I will integrate it to live demo first, then put a tutorial about it. 🙂

    9 years ago AvatarCedric Rouanet
    Participant

    ho yeah !

    8 years, 8 months ago AvatarPeter Davenport
    Participant

    Ahmed, have you had a chance to work on this yet? Getting good SEO is important and this is a step in the right direction. I noticed the demo here is still showing the words “My Profile” for the page. Any updates on this?

    2 years, 6 months ago Avatarluisbetancourtco
    Participant

    Hello!
    Any news on this?

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • Custom Badges AddOn Plugin here
  • Green Trust Cash APplication
  • How to use cash app without a bank account
  • Install Cash App on your Device [100%] by yourself | Step-by-Step Guide
  • Green Trust Cash Application

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro