Viewing File: /home/u103475381/domains/sinaprors.com.br/public_html/wp-content/themes/bones/page-quem-somos.php

<?php
/*
 Template Name: Quem somos
*/
 ?>
 <?php get_header(); ?>

 <div id="content">

 	<div id="inner-content" class="cf">

 		<main id="main" class="m-all t-all d-all cf" role="main">

 			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

 				<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article">

 					<section id="sobre-1" class="entry-content animate start cf">
 						<div class="wrap fx fx-rw fx-center fx-space">


 							<div class="content-text fadeInLeft">
 								<?php echo get_field('texto'); ?>

 							</div>
 							
 							<img src="<?php echo get_field('imagem'); ?>" alt="Muito mais que atividade sindical" class="fadeInRight">

 						</div>
 					</section>

					 <section id="diretoria" class="animate t-white ">
 						<div class="wrap">
 							<div class="entry-content ">
 								<h1 class="page-title">Nossa diretoria</h1>
 								<?php
 								$counter2 = 1;
 								if( have_rows('diretoria') ):

 									echo '<div class="boxes-diretoria fx fx-rw fx-center-top fx-space">';

 									while( have_rows('diretoria') ) : the_row();

 										$foto = get_sub_field('foto');
 										$nome = get_sub_field('nome');
 										$funcao = get_sub_field('funcao');

 										echo '<div class="box-diretoria fadeInUp time-'.$counter2.'"">';
 										echo '<figure><img src="'.$foto.'"></figure>';
 										echo '<div class="pd-diretoria">';
 										echo '<h2>'.$nome.'</h2>';
 										echo $funcao;
 										echo '</div>';
 										echo '</div>';

 										$counter2++;
 									endwhile;
 									echo '</div>';

 								endif;
 								?>
 							</div>
 						</div>
 					</section>

 					<section id="sobre-2" class="entry-content animate start cf">
 						<div class="wrap fx fx-rw fx-center fx-space">

 							<img src="<?php echo get_field('imagem_2'); ?>" alt="Escritorio" class="fadeInRight">

 							<div class="content-text fadeInLeft">
 								<?php echo get_field('texto_2'); ?>

 							</div>

 						</div>
 					</section>

					 <section id="sobre-3" class="entry-content animate start cf">
 						

 							<div class="content-text fadeInLeft">
 								<?php echo get_field('texto_3'); ?>

 							</div>

 						
 					</section>

 				

 					

 				</article>

 			<?php endwhile; endif; ?>

 		</main>

 		<?php //get_sidebar(); ?>

 	</div>

 </div>

 <?php get_footer(); ?>
Back to Directory File Manager