-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-whyagility.php
193 lines (84 loc) · 4.33 KB
/
page-whyagility.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<?php
/*
Template Name: WhyAgility Template
*/
get_header();
?>
<div class="inner-banner" style="background-image : url('<?php the_field('whyagility_banner_image');?>')">
<div class="container">
<div class="col-5">
<h2><?php the_field('whyagility_banner_text');?></h2>
<?php the_field('whyagility_banner_left_description');?>
</div>
<div class="col-7 border-lft">
<h1><?php the_field('whyagility_banner_heading');?></h1>
</div>
</div>
</div>
<div class="why-microagility">
<div class="container">
<div class="inner-top-above-tabs">
<h3 class="wow fadeInLeft" data-wow-duration="1s" data-wow-delay=".5s"><?php the_field('whyagility_content_mainheading');?></h3>
<p><?php the_field('whyagility_content_description');?></p>
</div>
<div class="col-6">
<div class="single-points purple" style="background-image : url('<?php the_field('whyagility_box1_image');?>')">
<h3><?php the_field('whyagility_box1_heading');?></h3>
<p><?php the_field('whyagility_box1_description');?></p>
<!-- <a href="<?php the_field('whyagility_box1_readmore_link');?>">Read More</a> -->
</div>
</div>
<div class="col-6">
<div class="single-points bulue" style="background-image : url('<?php the_field('whyagility_box2_image');?>')">
<h3><?php the_field('whyagility_box2_heading');?></h3>
<p><?php the_field('whyagility_box2_description');?></p>
<!-- <a href="<?php the_field('whyagility_box2_readmore_link');?>">Read More</a> -->
</div>
</div>
<div class="col-6">
<div class="single-points green" style="background-image : url('<?php the_field('whyagility_box3_image');?>')">
<h3><?php the_field('whyagility_box3_heading');?></h3>
<p><?php the_field('whyagility_box3_description');?></p>
<!-- <a href="<?php the_field('whyagility_box3_readmore_link');?>">Read More</a> -->
</div>
</div>
<div class="col-6">
<div class="single-points red" style="background-image : url('<?php the_field('whyagility_box4_image');?>')">
<h3><?php the_field('whyagility_box4_heading');?></h3>
<p><?php the_field('whyagility_box4_description');?></p>
<!-- <a href="<?php the_field('whyagility_box4_readmore_link');?>">Read More</a> -->
</div>
</div>
</div>
</div>
<div class="blog-posts-bottom">
<div class="container wow fadeIn" data-wow-duration="1s" data-wow-delay=".5s">
<div class="blog-posts-slider">
<?php
if( have_rows('why_agility_add_sliders') ):
while ( have_rows('why_agility_add_sliders') ) : the_row();
$image = get_sub_field('why_agility_add_slider_image');
?>
<div class="slider-single-post">
<div class="blog-image" style="background-image : url('<?php the_sub_field('why_agility_add_slider_image');?>')"></div>
<div class="slider-post-text">
<h3><?php the_sub_field('why_agility_add_slider_heading'); ?></h3>
<p><?php the_sub_field('why_agility_add_slider_description'); ?></p>
<a href="<?php the_sub_field('why_agility_add_slider_redirect_link'); ?>"><?php the_sub_field('why_agility_add_slider_redirect_text'); ?></a>
</div>
</div>
<?php
endwhile;
else :
// no rows found
endif; ?>
</div>
</div>
</div>
<div class="above-footer-link">
<div class="container">
<h2><?php the_field('whyagility_left_text');?></h2>
<a href="<?php the_field('whyagility_right_text_link');?>"><?php the_field('whyagility_right_text');?></a>
</div>
</div>
<?php get_footer(); ?>