-
Notifications
You must be signed in to change notification settings - Fork 5
/
page-fullwidth.php
55 lines (48 loc) · 1.24 KB
/
page-fullwidth.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/*
Template Name: Page: Full-Width
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<header class="<?php echo header_classes(); ?>">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<?php the_title( '<h1 class="display-3">', '</h1>' ); ?>
<?php if(have_bootplate_subtitle()) { bootplate_subtitle(); } ?>
<?php
if(have_bootplate_btns()) :
if(have_cta1() && have_cta2()) :
?>
<div class="row margin-top">
<div class="col-sm-6">
<?php the_cta(1); ?>
</div>
<div class="col-sm-6">
<?php the_cta(2); ?>
</div>
</div>
<?php
elseif(have_cta1() && !have_cta2()) :
?>
<div class="row margin-top">
<div class="col-sm-12">
<?php the_cta(1); ?>
</div>
</div>
<?php
endif; // end which buttons?
endif; // end have_btns
?>
</div>
</div><!--/row-->
</div><!--/.container-->
</header>
<section id="page-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="container">
<?php bootplate_breadcrumbs(); //if Yoast SEO breadcrumbs are installed and enabled ?>
<?php the_content(); ?>
</div>
</section>
<?php endwhile; ?>
<?php get_footer(); ?>