Example #1
0
			        <div class="search-body">
			            <?php 
    do_action('bp_directory_members_item');
    ?>
			        </div>
			        
			        <div class="location-wrapper">
	                    
	                    <?php 
    do_action('gmw_search_results_before_address', $gmw, $member);
    ?>
	                    
	                    <div class="address">
	                    	<?php 
    gmw_location_address($member, $gmw);
    ?>
		                </div>
		                
		                <?php 
    do_action('gmw_search_results_before_get_directions', $gmw, $member);
    ?>
		                
		                <!-- Get directions -->	 	
						<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
							<div class="get-directions-link">
		    					<?php 
        gmw_directions_link($member, $gmw, $gmw['labels']['search_results']['directions']);
        ?>
Example #2
0
						
						<!-- Get directions -->	
		   				<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
			    			<i class="get-directions-icon fa fa-map-marker"></i>
		    				<?php 
        gmw_directions_link($members_template->member, $gmw, $members_template->member->address);
        ?>
			    			
			    		<?php 
    } else {
        ?>
			    			<div class="address-wrapper">
			                    <?php 
        gmw_location_address($members_template->member, $gmw);
        ?>
			    			</div>
		    		  	<?php 
    }
    ?>
		    			
						 <!--  Driving Distance -->
						<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($member, $gmw, false);
        ?>
		    			<?php 
    }
Example #3
0
    }
    ?>

                    <!-- info left ends-->

                    <div class="wppl-info-right">

                    	<?php 
    do_action('gmw_search_results_before_address', $post, $gmw);
    ?>
                    	
                        <!--  Address -->
                        <div class="address-wrapper">
					    	<span class="fa fa-map-marker address-icon"></span>
					    	<span class="wppl-address"><?php 
    gmw_location_address($post, $gmw);
    ?>
</span>
					    </div>
                        <!--  Driving Distance -->
						<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($post, $gmw, false);
        ?>
		    			<?php 
    }
    ?>
		    			
                        <!-- Get directions -->	 	
/**
 * GMW GL function - Display group's full address
 * @version 1.0
 * @author Eyal Fitoussi
 */
function gmw_gl_group_address($gmw)
{
    global $groups_template;
    _deprecated_function('gmw_gl_group_address', '2.5', 'gmw_location_address');
    gmw_location_address($groups_template->group, $gmw);
}