44 lines
No EOL
1.2 KiB
PHP
44 lines
No EOL
1.2 KiB
PHP
<?php
|
|
/*
|
|
Template Name: Page Brands
|
|
*/
|
|
?>
|
|
|
|
<?php
|
|
global $tp;
|
|
get_header();
|
|
|
|
$learn_more = get_field('learn_more');
|
|
$wcloud = get_field('words_cloud', 'options');
|
|
?>
|
|
|
|
<div class="page-brands">
|
|
|
|
<?php get_template_part('partials/hero'); ?>
|
|
<?php get_template_part('partials/breadcrumbs'); ?>
|
|
<?php
|
|
set_query_var('addclass', 'no-bottom-padding');
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php get_template_part('partials/tag-cloud'); ?>
|
|
|
|
<?php get_template_part('partials/brands-list'); ?>
|
|
|
|
<?php if(!empty($learn_more)) : ?>
|
|
<div class="learn-more fw fw-container">
|
|
<div class="learn-more__wrapper wrapper">
|
|
<?php if(!empty($learn_more['text'])) : ?>
|
|
<div class="learn-more__text description"><?php echo $learn_more['text']; ?></div>
|
|
<?php endif; ?>
|
|
<?php if(!empty($learn_more['button']['url'])) : ?>
|
|
<a class="learn-more__btn btn" href="<?php echo $learn_more['button']['url']; ?>" title="<?php echo $learn_more['button']['title']; ?>"><?php echo $learn_more['button']['title']; ?> <i class="btn__icon btn__icon_arrow-right"></i></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
|
|
<?php get_footer(); ?>
|