Repository navigation
Expand file tree
/
Copy pathsingle.php
More file actions
62 lines (46 loc) · 1.98 KB
/
Copy pathsingle.php
File metadata and controls
62 lines (46 loc) · 1.98 KB
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
<?php get_header(); ?>
<!-- Content -->
<div class="blog-center-align">
<!-- Blog Caption -->
<div class="blog-single-caption">
<a class="backblog" href="<?php echo home_url(); ?>/blog"><?php _e('< Back to the Blog','aletheme'); ?></a>
</div>
<!-- Blog Line -->
<div class="blog-line"></div>
<!-- Blog Content -->
<div class="blog-single">
<!-- Right Menu -->
<div class="right-side">
<?php get_sidebar(); ?>
</div>
<!-- Left Content -->
<div class="left-side">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
echo get_the_post_thumbnail($post->ID,'post-minibox');
?>
<p class="info"><?php _e('in','aletheme'); ?> <?php the_category(', '); ?> <?php _e('by','aletheme'); ?> <?php echo the_author_posts_link(); ?> <span>|</span> <?php comments_number( 'no comments', 'one comment', '% comments' ); ?></p>
<h3 class="caption"><?php the_title(); ?></h3>
<div class="text">
<?php ale_part('posthead');?>
<?php ale_part('postfull');?>
<div class="cf"></div>
<?php ale_part('postfooter');?>
</div>
<?php endwhile; else: ?>
<?php ale_part('notfound')?>
<?php endif; ?>
<!-- Line -->
<div class="blog-line"></div>
<?php comments_template(); ?>
</div>
</div>
<!-- Blog Line -->
<div class="blog-line"></div>
<!-- Blog Nav -->
<div class="blog-single-footer">
<div class="left"><?php if(get_previous_post_link()){ ?><span class="left"></span><?php } ?> <?php previous_post_link('%link'); ?> </div>
<div class="right"><?php if(get_next_post_link()){ ?><span class="right"></span><?php } ?> <?php next_post_link('%link'); ?> </div>
</div>
</div>
<?php get_footer(); ?>