Ejemplo n.º 1
0
	                    	<?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']);
        ?>
		    				</div>
		    			<?php 
    }
    ?>
	                
	               		<!--  Driving Distance -->
						<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($member, $gmw, false);
        ?>
		    			<?php 
    }
Ejemplo n.º 2
0
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
		    				<?php 
        gmw_driving_distance($post, $gmw, false);
        ?>
		    			<?php 
    }
    ?>
		    			
		    			<!-- Get directions -->	 	
						<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
							<div class="wppl-get-directions">
		    					<?php 
        gmw_directions_link($post, $gmw, $gmw['labels']['search_results']['directions']);
        ?>
		    				</div>
		    			<?php 
    }
    ?>
			    		
		    		</div><!-- info right end -->
		    	
		    	</div> <!-- info end -->
		    
		    	<?php 
    do_action('gmw_search_results_loop_item_end', $gmw, $post);
    ?>
		    	
		    </div> <!--  single- wrapper ends -->
Ejemplo n.º 3
0
    ?>
		   			</div>
	   			</div>
	   						
    			<!-- Get directions -->	 	
				<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
					
					<?php 
        do_action('gmw_posts_loop_before_get_directions', $gmw, $post);
        ?>
					
					<div class="get-directions-link">
    					<?php 
        gmw_directions_link($post, $gmw, false);
        ?>
    				</div>
    			<?php 
    }
    ?>
    			
				<!--  Driving Distance -->
				<?php 
    if (isset($gmw['search_results']['by_driving'])) {
        ?>
    				<?php 
        gmw_driving_distance($post, $gmw, false);
        ?>
    			<?php 
    }
Ejemplo n.º 4
0
			                             		
					</div>
					
					<div class="bottom-wrapper">
					
						<?php 
    do_action('gmw_search_results_before_get_directions', $gmw, $member);
    ?>
						
						<!-- 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 -->
/**
 * GMW GL function - "Get directions" link
 * @version 1.0
 * @author Eyal Fitoussi
 */
function gmw_gl_get_directions($gmw)
{
    if (!isset($gmw['search_results']['get_directions'])) {
        return;
    }
    global $groups_template;
    if (empty($title)) {
        $title = 'Get directions';
    }
    _deprecated_function('gmw_gl_get_directions', '2.5', 'gmw_directions_link');
    gmw_directions_link($groups_template->group, $gmw, $title);
}
Ejemplo n.º 6
0
    ?>
		   			
		   			<div class="bottom-wrapper">
						<!-- Get directions -->	
		   				<?php 
    if (isset($gmw['search_results']['get_directions'])) {
        ?>
		   				
		   					<?php 
        do_action('gmw_search_results_before_get_directions', $post, $gmw);
        ?>
		   					<!--  Address -->
	                        <div class="get-directions-wrapper">
			    				<span class="fa fa-map-marker address-icon"></span>
    							<?php 
        gmw_directions_link($post, $gmw, $post->address);
        ?>
		    				</div>
			    		<?php 
    } else {
        ?>
			    			 <!--  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>
		    		  	<?php 
    }