-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.php
62 lines (50 loc) · 1.31 KB
/
home.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
59
60
61
62
<?php
/**
* Herringbone Theme Template - Home.php
*
* This template is the default home page (unless set to a static page) and
* forms the blog posts home page. When a static page is used as the site home
* page, this template would normally be used, for example, as /blog.
*
* @package herringbone
* @author Jefferson Real <[email protected]>
* @copyright Copyright (c) 2022, Jefferson Real
*/
get_header();
?>
<main class="main">
<div class="base"> <?php //MAIN CONTENT COLUMN ?>
<section class="sauce">
<div >
<h1 id="title" >
Home.php
</h1>
</div>
</section>
<section class="sauce">
<div >
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
?>
<nav>
<ul class="pager">
<li><?php next_posts_link( 'Previous' ); ?></li>
<li><?php previous_posts_link( 'Next' ); ?></li>
</ul>
</nav>
<?php
endif;
?>
</div>
</section>
</div> <?php //MAIN CONTENT COLUMN END ?>
<div class="sides-narrow">
<?php get_sidebar( 'left' ); ?>
<?php get_sidebar( 'right' ); ?>
</div>
</main>
<?php get_footer(); ?>
<!--<script> console.log( 'wp-template: home.php' );</script>-->