This repository was archived by the owner on Mar 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathfront-page.php
More file actions
72 lines (51 loc) · 1.4 KB
/
front-page.php
File metadata and controls
72 lines (51 loc) · 1.4 KB
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
<?php
/**
* Front page
*
* @package llorix-one-lite
*/
get_header();
?>
<!-- =========================
PRE LOADER
============================== -->
<?php
global $wp_customize;
if ( ! isset( $wp_customize ) ) :
$llorix_one_lite_disable_preloader = get_theme_mod( 'llorix_one_lite_disable_preloader' );
if ( isset( $llorix_one_lite_disable_preloader ) && ( $llorix_one_lite_disable_preloader != 1 ) ) :
echo '<div class="preloader">';
echo '<div class="status"> </div>';
echo '</div>';
endif;
endif;
llorix_one_lite_get_template_part( apply_filters( 'llorix_one_lite_header_layout', '/sections/llorix_one_lite_header_section' ) );
?>
</div>
<!-- /END COLOR OVER IMAGE -->
</header>
<!-- /END HOME / HEADER -->
<div itemprop id="content" class="content-wrap" role="main">
<?php
$sections_array = apply_filters(
'llorix_one_companion_sections_filter',
array(
'sections/llorix_one_lite_logos_section',
'sections/llorix_one_lite_our_story_section',
'sections/llorix_one_lite_content_section',
'sections/llorix_one_lite_ribbon_section',
'sections/llorix_one_lite_latest_news_section',
'sections/llorix_one_lite_contact_info_section',
'sections/llorix_one_lite_map_section',
)
);
if ( ! empty( $sections_array ) ) {
foreach ( $sections_array as $section ) {
llorix_one_lite_get_template_part( $section );
}
}
?>
</div><!-- .content-wrap -->
<?php
get_footer();
?>