<?php get_header(); ?> <!-- Mostrar o cabeçalho -->

<div id="conteudo" class="row">

<!--
*********************************************************
*                        BreadCrumb                     *
*********************************************************
-->	

<div style="margin-bottom: 0.4em;" class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
    <?php if(function_exists('bcn_display'))
    {
        bcn_display();
    }?>
</div>


<!--
*********************************************************
*                   Conteúdo Principal                  *
*********************************************************
-->	
	<div id="noticia_progepe" class="small-12 medium-12 large-12 columns centered">

<!--
*********************************************************
*     Loop do Wordpress para mostrar o conteudo dos     *
*       posts/notícias usando o ZURB Foundation 4       *
*********************************************************
-->	
	<?php if (have_posts()) : ?>


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

        <!-- Coloca o título desta notícia -->
			<h3><?php the_title(); ?></h3> 
		
		<!-- Coloca a data de publicação desta notícia -->
			<?php include (TEMPLATEPATH . '/inc/meta.php' ); ?>
      
		<!-- Coloca o resumo desta notícia  -->
			<?php echo the_excerpt(); ?>
        
		<button class="veja_mais">
			<a href="<?php the_permalink() ?>">Leia mais... </a>
		</button>
		
		<hr>

		<?php endwhile; ?>

<!--
*********************************************************
*                  Plugin WP_PAGENAVI                   *
*   Mostra a paginação se este plugin estiver ativado   *
*********************************************************
-->	
	<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
	
	<?php else : ?>

		<h5>{ Nenhuma publica&ccedil;&atilde;o encontrada... }</h5>
		
	<?php endif; ?> <!-- Fim dos posts do conteudo -->


	</div><!-- final da div central criada a partir dos testes de condicoes de colunas -->



</div> <!-- Fecha a ROW #conteudo aberto no inicio deste arquivo -->

<?php get_footer(); ?> <!-- Mostrar o rodapé -->