This topic has 1 reply, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #122237
     lorndal
    Participant

    Hi,

    we want to expand the profile-box of each member with the information about the current city and the current country of each member.

    These 2 fields are set in “Profile Fields”.

    Now I need them in the kleo/buddypress/members/members-loop.php

    What is the exact variabel for these 2 fields? I´ve tried several scripts, but none worked:
    kleo don´t know <?php bp_member_current-country(); ?> or <?php bp_member_current_city(); ?>

    bold are my 2 lines:

    <div class=”item-title”>
    <a href=”<?php bp_member_permalink(); ?>”><?php bp_member_name(); ?></a>
    </div>
    <div class=”item-meta”><span class=”activity”><?php bp_member_last_active(); ?></span></div>
    <div class=”item-meta”><span class=”activity”><?php bp_the_profile_field_name(); ?></span></div>
    <div class=”item-meta”><span class=”activity”><?php bp_member_current-city(); ?></span></div>
    <div class=”item-meta”><span class=”activity”><?php bp_member_current_country(); ?></span></div>

     

    Thanks a lot

    nice greetings Sandra

    #122435
     Radu
    Moderator
    Not marked as solution
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?