<?php



			echo '<section class="our-team" id="team">';


				echo '<div class="container">';


					echo '<div class="section-header">';


						echo '<h2 class="dark-text">'.__('Our Team','zerif-lite').'</h2>';


						$zerif_ourteam_subtitle = get_theme_mod('zerif_ourteam_subtitle','Add a subtitle in Customizer, "Our team section"');


						if(isset($zerif_ourteam_subtitle) && $zerif_ourteam_subtitle != ""):


							echo '<h6>'.$zerif_ourteam_subtitle.'</h6>';


						endif;


					echo '</div>';


					if(is_active_sidebar( 'sidebar-ourteam' )):
						echo '<div class="row" data-scrollreveal="enter left after 0s over 0.1s">';
							dynamic_sidebar( 'sidebar-ourteam' );
						echo '</div> ';
					else:
						echo '<div class="row" data-scrollreveal="enter left after 0s over 0.1s">';
							the_widget( 'zerif_team_widget','name=Member 1&position=CEO&description=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus, eros at accumsan auctor, felis eros condimentum quam, non porttitor est urna vel neque&fb_link=#&tw_link=#&bh_link=#&db_link=#&image_uri='.get_template_directory_uri().'/images/product-bg.png' );
							the_widget( 'zerif_team_widget','name=Member 2&position=CTO&description=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus, eros at accumsan auctor, felis eros condimentum quam, non porttitor est urna vel neque&fb_link=#&tw_link=#&bh_link=#&db_link=#&image_uri='.get_template_directory_uri().'/images/product-bg.png' );
							the_widget( 'zerif_team_widget','name=Member 3&position=VP&description=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus, eros at accumsan auctor, felis eros condimentum quam, non porttitor est urna vel neque&fb_link=#&tw_link=#&bh_link=#&db_link=#&image_uri='.get_template_directory_uri().'/images/product-bg.png' );
							the_widget( 'zerif_team_widget','name=Member 4&position=CFO&description=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus, eros at accumsan auctor, felis eros condimentum quam, non porttitor est urna vel neque&fb_link=#&tw_link=#&bh_link=#&db_link=#&image_uri='.get_template_directory_uri().'/images/product-bg.png' );
						echo '<div>';
					endif;



				echo '</div>';


			echo '</section>';



?>