Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Members Name to their profile page meta title


  • Grant Derepas
    Participant

    @dr_scythe

    Wordpress 3.5.1
    BP 1.6.5
    Mingle Theme

    I want to change the meta title/description used for members profile pages to include their username the same way the slug does.

    Currently all member profile pages have the same page title “Members”
    I’d like to change page titles for profile pages to be “‘membername’ – ‘sitename'”

    So far I’ve been completely unable to find where this value is set within either buddypress or my themes files.

    Anyone know?

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

  • Grant Derepas
    Participant

    @dr_scythe

    Still need to come up with a way to change this meta data for profiles

    Not really clear what you’re trying to change, the head title tag, the members account screens bp_is_user, or members directory page title. As standard BP displays the users name on their user account screens or when you visit another users account, if your site isn’t then that’s a theme issue to ask of the authors.

    You could use the below to get names, then what you do with that… :

    $bp->loggedin_user->fullname

    or
    $bp->loggedin_user->userdata->user_nicename / display_name

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Members Name to their profile page meta title’ is closed to new replies.
Skip to toolbar