forked from Codeinwp/Parallax-One
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-page.php
44 lines (36 loc) · 1.36 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
<?php
/**
* Front Page Template
*
* @package parallax-one
*/
if ( 'posts' == get_option( 'show_on_front' ) ) {
get_header();
parallax_one_get_template_part( apply_filters( 'parallax_one_plus_header_layout','/sections/parallax_one_header_section' ) );
?>
</div>
<!-- /END COLOR OVER IMAGE -->
<?php parallax_hook_header_bottom(); ?>
</header>
<!-- /END HOME / HEADER -->
<?php parallax_hook_header_after(); ?>
<?php parallax_hook_content_before(); ?>
<div itemprop id="content" class="content-warp" role="main">
<?php parallax_hook_content_top(); ?>
<?php
$sections_array = apply_filters( 'parallax_one_plus_sections_filter',array( 'sections/parallax_one_logos_section', 'sections/parallax_one_our_services_section', 'sections/parallax_one_our_story_section', 'sections/parallax_one_our_team_section', 'sections/parallax_one_happy_customers_section', 'sections/parallax_one_ribbon_section', 'sections/parallax_one_latest_news_section', 'sections/parallax_one_contact_info_section', 'sections/parallax_one_map_section' ) );
if ( ! empty( $sections_array ) ) {
foreach ( $sections_array as $section ) {
parallax_one_get_template_part( $section );
}
}
?>
<?php parallax_hook_content_bottom(); ?>
</div><!-- .content-wrap -->
<?php parallax_hook_content_after(); ?>
<?php
get_footer();
} else {
include( get_page_template() );
}// End if().
?>