-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsingle.php
More file actions
37 lines (30 loc) · 1.12 KB
/
single.php
File metadata and controls
37 lines (30 loc) · 1.12 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
<?php get_header() ?>
<div id="container">
<div id="content">
<?php the_post() ?>
<div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
<h2 class="single-entry-title"><?php the_title() ?></h2>
<div class="entry-meta">
<?php $date = get_the_time('Y-m-d');
echo "<span class='entry-date'>$date</span>";
echo "<span class='entry-cat'>";
the_tags('',' • ','');
echo "</div>";
?></div>
<div class="entry-content">
<?php the_content() ?>
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'sandbox' ) . '&after=</div>') ?>
</div>
</div><!-- .post -->
<div id="nav-below" class="navigation">
<div class="navi nav-previous">
<span><?php previous_post_link( '%link', '<span class="meta-nav" title="%title">«Pre</span> ' )?> </span>
</div>
<div class="navi nav-next">
<span> <?php next_post_link( '%link', '<span class="meta-nav" title="%title">Nxt»</span>' )?></span>
</div>
</div>
<?php comments_template() ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_footer() ?>