forked from gramophone-wp/Gramophone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfront-page.php
58 lines (50 loc) · 1.35 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
55
56
57
58
<?php
/**
*******************************************************************************
* //front-page.php
*******************************************************************************
*
* The front page.
*
* CODEX REF
* https://developer.wordpress.org/themes/basics/template-hierarchy/#front-page-display
*
* @author
* @copyright
* @link
* @todo
* @license
* @since
* @version
**/
?>
<?php get_header(); ?>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1><?php echo get_bloginfo('name'); ?></h1>
<p><?php echo get_bloginfo('description'); ?></p>
</div>
</div>
<div class="container">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
<div class="container">
<div class="row">
<!-- widget area 1 -->
<div class="col-md-4">
<?php if ( dynamic_sidebar( 'front-left' ) ); ?>
</div>
<!-- widget area 2 -->
<div class="col-md-4">
<?php if ( dynamic_sidebar( 'front-center' ) ); ?>
</div>
<!-- widget area 3 -->
<div class="col-md-4">
<?php if ( dynamic_sidebar( 'front-right' ) ); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>