Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Get Username ???


Anonymous
Inactive

Sorry to bring this topic back up, but I am having a similar problem.

I want to add a “Create a Group” button on my Groups page, and to be honest, I’m confused why buddypress wouldn’t put one there to begin with.

So the link I tried (from the code above) is :

href=”members/<?php echo $current_user; ?>/cells/create/”>Create a Group

But where do I put the :

global $current_user;

$username = $current_user->user_login;

part of the code?

Skip to toolbar