-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
42 lines (31 loc) · 1.06 KB
/
single.php
File metadata and controls
42 lines (31 loc) · 1.06 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
<?php
/**
* The Template for displaying all single posts.
*
* @package Arenson
* @since Arenson 1.0
*/
get_header(); ?>
<div id="primary" class="site-content default-single">
<header class="page-header">
<? echo get_subnavbar(); ?>
<div class="centering_box">
<h1 class="page-title lightweight"><?php the_title(); ?></h1>
</div>
<hr />
</header><!-- .entry-header -->
<div id="content" class="single centering_box" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php endwhile; // end of the loop. ?>
<!--
<div class="post-navigation">
<? $prev_post = get_previous_post();
$next_post = get_next_post(); ?>
<div class="nav-previous"><a href="<? echo $prev_post->guid; ?>"><? echo $prev_post->post_title; ?></a></div>
<div class="nav-next"><a href="<? echo $next_post->guid; ?>"><? echo $next_post->post_title; ?></a></div>
</div>
-->
</div><!-- #content -->
</div><!-- #primary .site-content -->
<?php get_footer(); ?>