Skip to:
Content
Pages
Categories
Search
Top
Bottom

adding nicename(?) to member directory page


  • djsteveb
    Participant

    @djsteveb

    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:
    bp_user_fullname()
    bp_displayed_user_fullname()

    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:
    /wp-content/themes/twenty-four-cslite/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php

    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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar