-
Notifications
You must be signed in to change notification settings - Fork 196
/
single.php
executable file
·39 lines (35 loc) · 1.17 KB
/
single.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
<?php get_header(); ?>
<!-- Row for main content area -->
<div class="small-12 large-8 columns" id="content" role="main">
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php reverie_entry_meta(); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'reverie'), 'after' => '</p></nav>' )); ?>
<p class="entry-tags"><?php the_tags(); ?></p>
<?php edit_post_link('Edit this Post'); ?>
</footer>
</article>
<div class="entry-author panel">
<div class="row">
<div class="large-3 columns">
<?php echo get_avatar( get_the_author_meta('user_email'), 95 ); ?>
</div>
<div class="large-9 columns">
<h4><?php the_author_posts_link(); ?></h4>
<p class="cover-description"><?php the_author_meta('description'); ?></p>
</div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; // End the loop ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>