Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/styles/footer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions components/search-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</select>

<?php
global $post;
$args = array (
'post_type' => 'destino',
'orderby' => 'title',
Expand Down
216 changes: 178 additions & 38 deletions footer.php

Large diffs are not rendered by default.

42 changes: 12 additions & 30 deletions front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
if($banner_query->have_posts()) : while ($banner_query->have_posts()) : $banner_query->the_post();
?>
<div class="swiper-slide">
<?php
$linkcta = get_field('linkcta');
if($linkcta){
echo '<a href="'.$linkcta.'">';
}
?>
<div class="banner-frame col-12 d-flex justify-content-center">
<img class="banner-thumb w-100" <?php if(!has_post_thumbnail( $post->ID )){
echo "no-thumbnail";
Expand All @@ -29,36 +35,12 @@
alt="<?php the_title();?>"
>
</div>
<div class="container">
<div class="banner-info">
<div class="teste">
<div>
<h1 class="b-title">
<?php the_title();?>
</h1>


<?php
$subtitle = get_field('subtitle');
if($subtitle){
echo '<h5 class=" b-subtitle">'.$subtitle.'</h5>';
}
?>

<div class="b-text-cta">
<?php
$textocta = get_field('textocta');
$linkcta = get_field('linkcta');
if($textocta){
echo '<a href="'.$linkcta.'"><button class="call-to-action ">'.$textocta.'</button></a>';
}
?>
</div>
</div>

</div>
</div>
</div>
<?php
$linkcta = get_field('linkcta');
if($linkcta){
echo '</a>';
}
?>
</div>
<?php endwhile; else: endif; wp_reset_postdata();?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion page-contato.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<h5 class="text-center fw-bold mb-5">Brasil</h5>
<div class="row">
<div class="col-12 col-md-6 col-xl-6 mb-5 text-end">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d497.66567135044585!2d-38.49444582221706!3d-3.739102845237198!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x7c7488644196237%3A0x656771dff6df6da0!2sCruzamento%20Des%20Leite%20Alburquerque!5e0!3m2!1spt-BR!2sbr!4v1647831553009!5m2!1spt-BR!2sbr" width="450" height="370" style="border:2px solid #FF6A2E; box-shadow: 5px 5px 5px gray; box-sizing: border-box; filter: drop-shadow(6px 6px 16px rgba(0, 0, 0, 0.3)); border-radius: 8px;" allowfullscreen="" loading="lazy" class="col-12 col-md-12 col-xl-12 mb-4 rounded-3"></iframe>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3981.3258387545575!2d-38.49640118457127!3d-3.738999797279713!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x7c74889c07dd60b%3A0xec8b60890d812c08!2sOK%20Interc%C3%A2mbio%20-%20Ag%C3%AAncia%20de%20Interc%C3%A2mbio!5e0!3m2!1spt-BR!2sbr!4v1650348946523!5m2!1spt-BR!2sbr" width="450" height="370" style="border:2px solid #FF6A2E; box-shadow: 5px 5px 5px gray; box-sizing: border-box; filter: drop-shadow(6px 6px 16px rgba(0, 0, 0, 0.3)); border-radius: 8px;" allowfullscreen="" loading="lazy" class="col-12 col-md-12 col-xl-12 mb-4 rounded-3"></iframe>
<div class="row">
<h6 class="text-center fw-bold">Fortaleza, CE</h5> <br>
<div class="col-12 col-md-12 col-sm-12 text-center">
Expand Down