-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsingle.php
More file actions
25 lines (25 loc) · 844 Bytes
/
single.php
File metadata and controls
25 lines (25 loc) · 844 Bytes
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
<?php get_header(); ?>
<div class="row">
<div class="small-12 large-8 columns">
<?php /* Start loop */ ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<header>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php py_article_meta(); ?>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php wp_link_pages(array('before' => '<nav id="page-nav"><p>' . __('Pages:', 'projectyeti'), 'after' => '</p></nav>' )); ?>
<p class="entry-tags"><?php the_tags(); ?></p>
<?php edit_post_link('Edit this Post'); ?>
</footer>
</div>
<?php comments_template(); ?>
<?php endwhile; // End the loop ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>