-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-about.php
135 lines (117 loc) · 6.71 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?php
/*
Template name: About
Author: Amigo Dheena
*/
get_header();
$about_hero = get_field('about_hero');
?>
<section class="bg-4 h-500x main-slider pos-relative" style="background:url('<?php echo the_post_thumbnail_url(); ?>') no-repeat center; background-size: cover;">
<div class="triangle-up pos-bottom"></div>
<div class="container h-100">
<div class="dplay-tbl">
<div class="dplay-tbl-cell center-text color-white pt-90">
<h5><b><?php echo $about_hero['small_title'] ?></b></h5>
<h2 class="mt-30 mb-15"><?php echo $about_hero['long_title'] ?></h2>
</div><!-- dplay-tbl-cell -->
</div><!-- dplay-tbl -->
</div><!-- container -->
</section>
<?php
$we_are_lugais = get_field('we_are_lugais');
?>
<section class="story-area left-text center-sm-text">
<div class="container">
<div class="row">
<div class="col-md-6"><img class="mb-30" src="<?php echo $we_are_lugais['left_image']; ?>" alt=""></div>
<div class="col-md-6"><img class="mb-30" src="<?php echo $we_are_lugais['right_image']; ?>" alt=""></div>
<div class="col-md-12">
<div class="mt-50 mt-sm-30 mb-50 mb-sm-30 center-text"> <h2><?php echo $we_are_lugais['mail_title']; ?></h2> </div>
<h5 class="center-text mb-50 mb-sm-30 plr-25"><?php echo $we_are_lugais['main_description']; ?></h5>
</div>
<div class="col-md-6">
<p class="mb-15"><?php echo $we_are_lugais['left_description']; ?> </p>
</div><!-- col-md-6 -->
<div class="col-md-6">
<p class="mb-15"><?php echo $we_are_lugais['right_description']; ?> </p>
</div><!-- col-md-6 -->
</div><!-- row -->
<h6 class="center-text mt-40 mt-sm-30 mb-20">
<a href="<?php echo $we_are_lugais['left_menu_link']; ?>" class="btn-primaryc plr-25 mb-10 mlr-5"><b><?php echo $we_are_lugais['left_menu']; ?></b></a>
<a href="<?php echo $we_are_lugais['right_menu_link']; ?>" class="btn-primaryc secondary plr-50 mlr-5 mb-10"><b><?php echo $we_are_lugais['right_menu']; ?></b></a>
</h6>
</div><!-- container -->
</section>
<section class="story-area bg-seller color-white pos-relative">
<div class="pos-bottom triangle-up"></div>
<div class="pos-top triangle-bottom"></div>
<div class="container">
<div class="heading">
<img class="heading-img" src="<?php bloginfo('template_directory') ?>/images/heading_logo.png" alt="">
<h2>What Clients Say</h2>
</div>
<div class="swiper-container" data-slide-effect="slide" data-autoheight="false" data-swiper-speed="500" data-swiper-margin="25" data-swiper-slides-per-view="3"
data-swiper-breakpoints="true" data-scrollbar="true" data-swiper-loop="true" data-swpr-responsive="[1, 2, 2, 2]">
<?php if( have_rows('what_clients_say') ): ?>
<div class="swiper-wrapper pb-90 pb-sm-60 left-text center-sm-text">
<?php while( have_rows('what_clients_say') ): the_row();
// vars
$title = get_sub_field('title');
$description = get_sub_field('description');
$image = get_sub_field('image');
$name = get_sub_field('name');
$position = get_sub_field('position');
?>
<div class="swiper-slide">
<h4><?php echo $title; ?></h4>
<p class="color-ash mb-50 mb-sm-30 mt-20"><?php echo $description; ?></p>
<img class="circle-60 mb-20 " src="<?php echo $image; ?>" alt="">
<h6><b class="color-primary"><?php echo $name; ?></b>,<b class="color-ash"><?php echo $position; ?></b>
</h6>
</div><!-- swiper-slide -->
<?php endwhile; ?>
</div><!-- swiper-wrapper -->
<?php endif; ?>
<div class="swiper-pagination"></div>
</div><!-- swiper-container -->
</div><!-- container -->
</section>
<section class="counter-section section center-text" id="counter">
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-3">
<div class="mb-30 ">
<i class="mlr-auto mb-30 icon-gradient icon-pizza"></i>
<h2><b><span class="counter-value" data-duration="400" data-count="574">0</span></b>
</h2>
<h5 class="semi-black"><b>Pizza per day</b></h5>
</div><!-- margin-b-30 -->
</div><!-- col-md-3-->
<div class="col-sm-6 col-md-3">
<div class="mb-30">
<i class="mlr-auto mb-30 icon-gradient icon-sea-food"></i>
<h2><b><span class="counter-value" data-duration="1400" data-count="14">0</span></b>
</h2>
<h5 class="semi-black"><b>Sea Food Dshes</b></h5>
</div><!-- margin-b-30 -->
</div><!-- col-md-3-->
<div class="col-sm-6 col-md-3">
<div class="mb-30">
<i class="mlr-auto mb-30 icon-gradient icon-pasta"></i>
<h2><b><span class="counter-value" data-duration="300"
data-count="3">0</span></b></h2>
<h5 class="semi-black"><b>Pasta Chefs</b></h5>
</div><!-- margin-b-30 -->
</div><!-- col-md-3-->
<div class="col-sm-6 col-md-3">
<div class="mb-30">
<i class="mlr-auto mb-30 icon-gradient icon-salad"></i>
<h2><b><span class="counter-value" data-duration="1000" data-count="52">0</span></b>
</h2>
<h5 class="semi-black"><b>Salads per day</b></h5>
</div><!-- margin-b-30 -->
</div><!-- col-md-3-->
</div><!-- row-->
</div><!-- container-->
</section><!-- counter-section-->
<?php get_footer();