/
single.php
63 lines (52 loc) · 2.11 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
58
59
60
61
62
63
<?php
/**
* @package WordPress
* @subpackage Toolbox
*/
?>
<?php if (have_posts())
while (have_posts()) : the_post(); ?>
<?php core_functions::setPostViews(); ?>
<section id="post-content">
<?php //get_template_part('content', 'single'); ?>
<?php //cwp::get_tpl_content('single'); ?>
<?php cwp_layout::tpl_part('base', 'single'); ?>
</section>
<section id="author-info">
<div class="row">
<div class="two columns">
<div class="authoravatar"> <?php if (function_exists('get_avatar')) {
echo get_avatar(get_the_author_meta('email'),60); } ?>
</div>
<!-- ###end-row### -->
</div>
<div class="ten columns">
<div class="authorinfo">
<p>Author: <strong><?php the_author_posts_link(); ?> </strong> : <?php the_author_meta('description'); ?></p>
</div>
<!-- ####column-end#### -->
</div>
</div>
</section>
<nav id="nav-below">
<div class="row">
<div class="six columns">
<div class=" nav-previous">
<?php previous_post_link('%link', '<span class="meta-nav">' . _x('←', 'Previous post link', 'basejump') . '</span> %title'); ?>
</div>
<!-- ###end-row### -->
</div>
<div class="six columns">
<div class="nav-next">
<?php next_post_link('%link', '%title <span class="meta-nav">' . _x('→', 'Next post link', 'basejump') . '</span>'); ?>
</div>
<!-- ####column-end#### -->
</div>
</div>
<!-- <h1 class="section-heading"><?php _e('Post navigation', 'basejump'); ?></h1>-->
</nav><!-- #nav-below -->
<section>
<?php comments_template('', true); ?>
</section>
<?php
endwhile; // end of the loop. ?>