-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsingle.php
More file actions
40 lines (25 loc) · 782 Bytes
/
single.php
File metadata and controls
40 lines (25 loc) · 782 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* The template for displaying single posts.
* @package highwind
* @since 1.0
*/
?>
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
get_header();
?>
<?php highwind_content_before(); ?>
<section class="content" role="main">
<?php highwind_content_top(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php highwind_entry_top(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php highwind_entry_bottom(); ?>
</article><!-- #post-<?php the_ID(); ?> -->
<?php endwhile; // end of the loop. ?>
<?php highwind_content_bottom(); ?>
</section><!-- /.content -->
<?php highwind_content_after(); ?>
<?php get_footer(); ?>