Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: profile links as default


Henry
Participant

@henrybaum

Thanks, what I ended up doing is adding

<div class=”profile”>

<?php if ( ‘edit’ == bp_current_action() ) : ?>

<?php locate_template( array( ‘members/single/profile/edit.php’ ), true ) ?>

<?php elseif ( ‘change-avatar’ == bp_current_action() ) : ?>

<?php locate_template( array( ‘members/single/profile/change-avatar.php’ ), true ) ?>

<?php else : ?>

<?php locate_template( array( ‘members/single/profile/profile-loop.php’ ), true ) ?>

<?php endif; ?>

</div><!– .profile –>

…to my home.php within “members” in my theme (code comes from profile.php). Knowing little about this, I don’t know if you’ll have the same result, but hacking into the code seems to work.

Update: saw you got it to work. If you’re interested in listing the profile and activity on the same page, try this.

Skip to toolbar