-
Notifications
You must be signed in to change notification settings - Fork 0
/
front-page.php
49 lines (44 loc) · 1.06 KB
/
front-page.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
<?php
/*
Template Name: Home page template
*/
get_header(); ?>
<article>
<section class="slider">
<div class="homeSlider">
<div class="container">
<div class="row1">
<h1><?php echo get_field( 'headline-text' ); ?></h1>
<p><?php echo get_field( 'headline-sub-text' ); ?></p>
</div>
<div class="row2">
<div class="col">
<?php echo get_field( 'youtube_video_player' ); ?>
</div>
<div class="col">
<div class="box">
<p><?php echo get_field( 'home-page-more-information' ); ?></p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="homeContent">
<div class="container">
<?php while ( has_sub_field( 'home-columns' ) ) { ?>
<div class="col">
<div class="service serviceOne">
<?php the_sub_field( 'home-col' ); ?>
</div>
</div>
<?php } ?>
</div>
</section>
<section class="homeHeadline">
<div class="container">
<?php echo get_field( 'home-sub-row' ); ?>
</div>
</section>
</article>
<?php get_footer(); ?>