Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Print user id in profile page


  • ne.mherrera
    Participant

    @nemherrera

    I want print user id of member in your profile to show to all visitors of my website

Viewing 6 replies - 1 through 6 (of 6 total)

  • modemlooper
    Moderator

    @modemlooper

    bp_displayed_user_id()

    All the template tags you can use: https://codex.buddypress.org/developer-docs/buddypress-template-tags/


    ne.mherrera
    Participant

    @nemherrera

    dont work for me… i wanna show the user id on user profile


    Hugo Ashmore
    Moderator

    @hnla

    Well that’s the way to do it, no need to re-state you ‘wanna show’ it on user profile we got that bit, what did you do wrong then? how about adding a little detail like code you tried , template you tried it in, if you come to forums for help you must be prepared to provide a little bit of information so people can actually help you.

    Oh and you did try echoing the function didn’t you?


    ne.mherrera
    Participant

    @nemherrera

    Sorry my english is too bad.. I want to show user id in your profile to display next to the word “citizen”.

    For example Citizen # 12 of my community

    Under user avatar

    i am using this function indise bold tags

    bp_displayed_user_id();

    Thanks for your help


    shanebp
    Moderator

    @shanebp

    > indise bold tags

    ``


    ne.mherrera
    Participant

    @nemherrera

    Thanks @shanebpx.. worked!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Print user id in profile page’ is closed to new replies.
Skip to toolbar