-
Notifications
You must be signed in to change notification settings - Fork 4
/
front-page.php
54 lines (38 loc) · 1.21 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
50
51
52
53
54
<?php
/**
* The main template for a static front page
*
* @package Inti
* @subpackage Templates
* @since 1.0.0
*/
get_header(); ?>
<div id="primary" class="site-content">
<?php inti_hook_content_before(); ?>
<div id="content" role="main" class="<?php apply_filters('inti_filter_content_classes', ''); ?>">
<?php inti_hook_inner_content_before(); ?>
<?php inti_hook_grid_open(); ?>
<header class="archive-header">
<?php
/**
* Get the page loop
* Content of the page that is set as the front-page is
* displayed as a kind of header to the rest of
* what is displayed later displayed...
*/
get_template_part('loops/loop', 'page'); ?>
</header><!-- .archive-header -->
<?php
/**
* Get the main loop
* ...by default we also place the loop of posts
* under the front-page content. Modify as needed or
* overwrite front-page.php with a child theme version.
*/
get_template_part('loops/loop', 'frontpage'); ?>
<?php inti_hook_grid_close(); ?>
<?php inti_hook_inner_content_after(); ?>
</div><!-- #content -->
<?php inti_hook_content_after(); ?>
</div><!-- #primary -->
<?php get_footer(); ?>