ldc-groupe/content/themes/ldc/page-feedwell.php
2020-07-01 10:25:45 +02:00

68 lines
1.5 KiB
PHP

<?php
/*
Template Name: Page Feedwell
*/
?>
<?php
get_header();
global $tp;
global $mob;
$historic_actions = get_field('historic_actions');
$satisfy = get_field('satisfy');
$security = get_field('security');
$nutriton = get_field('nutriton');
$score_card = get_field('score_card');
$engagements = get_field('engagements');
?>
<div class="page-feedwell">
<?php get_template_part('partials/hero'); ?>
<?php get_template_part('partials/breadcrumbs'); ?>
<?php
set_query_var('text_block', $historic_actions['text_block']);
set_query_var('custom_class', 'feedwell-historic-actions');
get_template_part('partials/text-block');
?>
<?php
set_query_var('text_block', $satisfy['text_block']);
set_query_var('custom_class', 'feedwell-satisfy');
get_template_part('partials/text-block');
?>
<?php
set_query_var('text_block', $security['text_block']);
set_query_var('custom_class', 'feedwell-security');
get_template_part('partials/text-block');
?>
<?php
set_query_var('text_block', $nutriton['text_block']);
set_query_var('custom_class', 'feedwell-nutriton');
get_template_part('partials/text-block');
?>
<?php
set_query_var('score_card', $score_card);
get_template_part('partials/score-card');
?>
<div class="gray-bg">
<?php
set_query_var('disabled', 4);
set_query_var('no_text', 1);
get_template_part('partials/engagements');
?>
</div>
</div>
<?php get_footer(); ?>