adding nicename(?) to member directory page
I tried the code posted here ( https://buddypress.org/support/topic/display-username-in-members-directory/#post-89522 ) into functions.php and got the whitescreen of critical error.
– That code was supposed to display username and full name in the directory I think.
been looking into copying template page ( \buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php )
into new /buddypress/ folder and adding some code there(?)
Do I need to add somethng like:
Also looking at some things for x-profile tags?
Not sure best way to go / get there from here..
I did try adding a file to:
and putting part like this:
<div class="item-title"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a> <br> <?php bp_displayed_user_fullname(); ?> <?php if ( bp_get_member_latest_update() ) : ?> <span class="update"> <?php bp_member_latest_update(); ?></span> <?php endif; ?>
but it did not seem to do anything… Feel like I am close but missing things – I did a lot of searching, but missing something obviously.
- You must be logged in to reply to this topic.