-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsingular.php
38 lines (38 loc) · 1.14 KB
/
singular.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
get_header();
$activities_url = apply_filters('spouse_program_static_page_url', '', 'activities');
$alternative_header = get_field('alternative_page_header', get_the_ID() );
?>
<div class="container-fluid">
<div class="row">
<?php get_template_part( 'partials/hero' ) ?>
</div>
</div>
<main id="main-content" class="container">
<div class="row">
<div class="col-12 pt-4">
<?php
if ($alternative_header) {
the_title('<h1 class="header-left medium-size">', '</h1>');
} else {
the_title('<h1 class="text-center">', '</h1>');
}
?>
</div>
</div>
<div class="row">
<div class="col-12">
<?php
if (have_posts()) :
while (have_posts()) :
the_post();
the_content();
endwhile;
endif;
?>
</div>
</div>
<?php get_template_part('partials/flexible-content') ?>
</main><!-- #site-content -->
<?php
get_footer();