This topic has 1 reply, 1 voice, and was last updated 9 years by lacvapps.

  • Author
  • #66963
     lacvapps
    Participant

    So I am setting up a member page where you can discover people near you and I want to have the members directory in carousel format. What is the most efficient way to do this? should I html/css it myself or should I use bp_member_carousel short code. Each member must have

    COPY CODE
    <?php if ( bp_has_members( 'type=Popular&max=12' ) ) : ?>      
    	<ul id="members-list">     
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    
    		<li class="discoveritem">
            	<div class="discover-avatar">
            <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar('type=full&height=200&width=200'); ?>
    	  		<div class="discover-profile">	
    	  		<div class="profile_name"><span><center><?php bp_member_name(); ?></center></span></div>
                <div class="profile_fields">Career: <span><?php bp_member_profile_data( 'field=Career' );?></span></div>
    	 		<div class="profile_fields">Genre: <span><?bp_member_profile_data( 'field=Genre' );?></span></div>
                <div class="profile_fields">Experience: <span><?bp_member_profile_data( 'field=Experience' );?></span></div>
                <div class="profile_fields">Skills: <span><?bp_member_profile_data( 'field=Skills' );?></span></div>
              </a>
    
    			</div><!--end member-inner-list-->
    		</li>
    
    	<?php endwhile; ?>
    </ul>
    <?php endif; ?>
    
    #66978
     lacvapps
    Participant

    figured it out

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Members Carousel – Discovery page’ is closed to new replies.

Log in with your credentials

Forgot your details?