-
Notifications
You must be signed in to change notification settings - Fork 5
/
page-twothirdheight.php
54 lines (47 loc) · 1.17 KB
/
page-twothirdheight.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
<?php
/*
Template Name: Page: 2/3rd Height
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<header class="<?php echo header_classes(); ?>"<?php the_header_bgimg(get_the_id(), 'full'); ?>>
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<?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 the_content(); ?>
</div>
</section>
<?php endwhile; ?>
<?php get_footer(); ?>