Esempio n. 1
0
			            <a href="<?php 
    bp_member_permalink();
    ?>
"><?php 
    bp_member_avatar('type=full&width=94&height=94&class=');
    ?>
</a>
			            
			            <?php 
    do_action('bp_members_inside_avatar');
    ?>

			            <span class="radius">
                    		<?php 
    gmw_distance_to_location($member, $gmw);
    ?>
                    	</span>

			        </div>

			        <?php 
    do_action('bp_members_meta');
    ?>

			        <div class="search-body">
			            <?php 
    do_action('bp_directory_members_item');
    ?>
			        </div>
			        
Esempio n. 2
0
	                		<span class="member-count"><?php 
    echo $member->member_count;
    ?>
)</span>
	                    	<a href="<?php 
    bp_member_permalink();
    ?>
"><?php 
    bp_member_name();
    ?>
</a>
	                    </h2>   
	                         	
	                    <span class="radius">
                    		<?php 
    gmw_distance_to_location($members_template->member, $gmw);
    ?>
                    	</span>
	                </div>
	                    
	                <div class="user-info">
		                
		                <?php 
    do_action('gmw_search_results_before_avatar', $gmw, $member);
    ?>
		                
		                <?php 
    if (isset($gmw['search_results']['avatar']['use'])) {
        ?>
		                    <div class="user-avatar">
		                        <a href="<?php 
Esempio n. 3
0
					<a href="<?php 
    echo the_permalink();
    ?>
" class="wppl-h2 find-chapter__link">
						<?php 
    echo $post->post_count;
    echo '. ';
    the_title();
    ?>
					
						<?php 
    if ($post->distance) {
        ?>
						
						<span class="radius-dis">(<?php 
        gmw_distance_to_location($post, $gmw);
        ?>
)</span>
					
						<?php 
    }
    ?>
					
					</a>
				</div>
								
				<!--  Thumbnail -->			
				<?php 
    if (isset($gmw['search_results']['featured_image']['use']) && has_post_thumbnail()) {
        ?>
					
/**
 * Deprecated - for older versions
 */
function gmfl_distance($member, $gmw)
{
    _deprecated_function('gmfl_distance', '2.5', 'gmw_distance_to_location');
    gmw_distance_to_location($member, $gmw);
}