-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
57 lines (35 loc) · 1 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* The primary template for all single entries.
*
* @package Compass
* @subpackage HybridCore
* @copyright Copyright (c) 2015, Flagship Software, LLC
* @license GPL-2.0+
* @since 1.0.0
*/
?>
<?php get_header(); ?>
<div <?php hybrid_attr( 'site-inner' ); ?>>
<?php tha_content_before(); ?>
<main <?php hybrid_attr( 'content' ); ?>>
<?php tha_content_top(); ?>
<?php hybrid_get_menu( 'breadcrumbs' ); ?>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php tha_entry_before(); ?>
<?php hybrid_get_content_template(); ?>
<?php tha_entry_after(); ?>
<?php flagship_post_navigation(); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'content/error' ); ?>
<?php endif; ?>
<?php tha_content_bottom(); ?>
</main><!-- #content -->
<?php tha_content_after(); ?>
<?php hybrid_get_sidebar( 'primary' ); ?>
</div><!-- #site-inner -->
<?php
get_footer();