-
-
Save gabfr/79e1c915d0b2f9ed6620aee7fdc8c8b0 to your computer and use it in GitHub Desktop.
page-logistica.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: Logística | |
*/ | |
get_header(); | |
?> | |
<?php while(have_posts()): the_post(); $imgUrl = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); ?> | |
<div class="wrap-block-introdutory clearfix"> | |
<?php if ($imgUrl && count($imgUrl) > 0): ?> | |
<img src="<?php echo $imgUrl[0]; ?>" alt=""/> | |
<?php else: ?> | |
<img src="<?php echo get_template_directory_uri(); ?>/img/bg-logistica.png" alt=""/> | |
<?php endif; ?> | |
<div class="bg-opacity"> | |
<div class="wrap-content clearfix"> | |
<div class="breadcrumb"> | |
<a href="<?php bloginfo('url'); ?>">Home</a> / | |
<?php | |
$links = array(); | |
$pages = loadPageBreadcrumb(); | |
foreach ($pages as $page) { | |
$links[] = "<a href=\"" . $page['link'] . "\">{$page['name']}</a>"; | |
} | |
echo implode (" / ", $links); | |
?> | |
</div> | |
<div class="wrap-title"> | |
<h2><?php the_title(); ?></h2> | |
</div> | |
<a href="javascript:void(0);" class="go-down">Avançar</a> | |
</div> | |
</div> | |
</div> | |
<article class="wrap-logistica"> | |
<div class="wrap-content clearfix"> | |
<?php the_content(); ?> | |
<?php /* | |
<ul class="bullets"> | |
<li>Mais de 3.000 posições Pallet.</li> | |
<li>Docas para carga e descarga, trazendo agilidade e segurança na operação.</li> | |
<li>Mais de 15 mil itens em estoque.</li> | |
<li>Armazenagem e movimentação de produtos pelo sistema WMS (software de gestão de armazéns).</li> | |
<li>Centros de Distribuição estrategicamente localizados, em estados que equivalem a mais de 52% do PIB brasileiro: Santa Catarina, Rio Grande do Sul, Paraná, São Paulo, Mato Grosso, Minas Geriais e Goiânia.</li> | |
</ul> | |
<p class="text-center"> | |
<a href="<?php bloginfo('url'); ?>/suporte/fale-conosco" class="cta">Ver todas as filiais</a> | |
</p> | |
*/ ?> | |
</div> | |
</article> | |
<?php endwhile; ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment