58 lines
1.2 KiB
PHP
58 lines
1.2 KiB
PHP
<?php
|
|
/*
|
|
Template Name: Page Respect
|
|
*/
|
|
?>
|
|
|
|
<?php
|
|
global $tp;
|
|
get_header();
|
|
|
|
$historic_actions = get_field('historic_actions');
|
|
$footprint = get_field('footprint');
|
|
$packaging = get_field('packaging');
|
|
|
|
$score_card = get_field('score_card');
|
|
$engagements = get_field('engagements');
|
|
?>
|
|
|
|
<div class="page-respect">
|
|
|
|
<?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', 'toghether-historic-actions');
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $footprint['text_block']);
|
|
set_query_var('custom_class', 'toghether-footprint');
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $packaging['text_block']);
|
|
set_query_var('custom_class', 'toghether-packaging');
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<div class="gray-bg">
|
|
<?php
|
|
set_query_var('score_card', $score_card);
|
|
get_template_part('partials/score-card');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('disabled', 3);
|
|
get_template_part('partials/engagements');
|
|
?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|