Viewing File: /home/u103475381/domains/sinaprors.com.br/public_html/wp-content/themes/bones/page-marcas.php
<?php
/*
Template Name: Logos
*/
?>
<?php get_header(); ?>
<div id="content">
<div id="inner-content" class="wrap 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">
<header class="article-header">
<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>
</header> <?php // end article header ?>
<section class="entry-content cf" itemprop="articleBody">
<?php the_content(); ?>
</section> <?php // end article section ?>
<section id="marcas" class="animate start">
<div class="entry-content ">
<?php
$counter3 = 1;
if( have_rows('logos') ):
echo '<div class="boxes-marcas fx fx-rw fx-center-top fx-space">';
while( have_rows('logos') ) : the_row();
$logo = get_sub_field('logo');
$link = get_sub_field('link');
echo '<div class="box-marca fadeInUp time-'.$counter3.'"">';
echo '<a href="'.$link.'" class="just-link" target="_blank">';
echo '<figure><img src="'.$logo.'"></figure>';
echo '</a>';
echo '</div>';
$counter3++;
endwhile;
echo '</div>';
endif;
?>
</div>
</section>
</article>
<?php endwhile; endif; ?>
</main>
<?php //get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>
Back to Directory
File Manager