-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-about.php
82 lines (54 loc) · 1.77 KB
/
template-about.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
/**
Template Name: About Us
*/
get_header(); the_post(); ?>
<!-- / banner container \ -->
<section id="bannerCntr">
<!-- / inner box \ -->
<article class="innerbannerBox" style="background: url(<?php if(get_field('banner_image')): ?><?php the_field('banner_image'); ?><?php else: ?><?php the_field('banner_image',7); ?><?php endif; ?>) no-repeat top center / cover;">
<div class="mycontainer">
<div class="text">
<h2><?php the_title(); ?></h2>
</div>
</div>
</article>
<!-- \ banner box / -->
</section>
<!-- \ banner container / -->
<!-- / middle container \ -->
<section id="middleCntr">
<!-- / breadcrumb box \ -->
<article class="breadcrumbBox">
<div class="mycontainer">
<?php if(function_exists('bcn_display')){ bcn_display(); }?>
</div>
</article>
<!-- \ breadcrumb box / -->
<!-- / history box \ -->
<article class="historyBox">
<div class="mycontainer">
<div class="row">
<aside class="text col-xs-12 col-sm-8 col-md-8 col-lg-8">
<?php the_content(); ?>
</aside>
<aside class="pull-right col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php the_post_thumbnail(); ?>
</aside>
</div>
<br>
<br>
<div class="row">
<aside class="pull-left col-xs-12 col-sm-4 col-md-4 col-lg-4">
<?php if( get_field('second_image')): ?><img src="<?php the_field('second_image'); ?>" alt="alt" /><?php endif; ?>
</aside>
<aside class="text col-xs-12 col-sm-8 col-md-8 col-lg-8">
<?php the_field('second_description'); ?>
</aside>
</div>
</div>
</article>
<!-- \ history box / -->
</section>
<!-- \ middle container / -->
<?php get_footer(); ?>