61 lines
No EOL
1.2 KiB
PHP
61 lines
No EOL
1.2 KiB
PHP
<?php
|
|
/*
|
|
Template Name: Page Toghether
|
|
*/
|
|
?>
|
|
|
|
<?php
|
|
global $tp;
|
|
get_header();
|
|
|
|
$historic_actions = get_field('historic_actions');
|
|
$take_care = get_field('take_care');
|
|
$promote = get_field('promote');
|
|
$act_to_fight = get_field('act_to_fight');
|
|
|
|
$score_card = get_field('score_card');
|
|
$engagements = get_field('engagements');
|
|
?>
|
|
|
|
<div class="page-toghether">
|
|
|
|
<?php get_template_part('partials/hero'); ?>
|
|
<?php get_template_part('partials/breadcrumbs'); ?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $historic_actions['text_block']);
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $take_care['text_block']);
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $promote['text_block']);
|
|
get_template_part('partials/text-block');
|
|
?>
|
|
|
|
<?php
|
|
set_query_var('text_block', $act_to_fight['text_block']);
|
|
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', 2);
|
|
get_template_part('partials/engagements');
|
|
?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php get_footer(); ?>
|