This repository was archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
65 lines (49 loc) · 1.33 KB
/
Copy pathsingle.php
File metadata and controls
65 lines (49 loc) · 1.33 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
63
64
65
<?php
/**
* Template for dispalying single post (read full post page).
*
* @package noborders
*/
get_header();
?>
<div class="row">
<div class="large-12 columns">
<?php
while (have_posts()) {
the_post();
get_template_part('content', get_post_format());
echo "\n\n";
NoBordersPagination();
echo "\n\n";
// If comments are open or we have at least one comment, load up the comment template
if (comments_open() || '0' != get_comments_number()) {
comments_template();
}
echo "\n\n";
} //endwhile;
?>
</div>
</div>
<?php
/*get_sidebar('right');*/
if ( function_exists( 'sharing_display' ) ) {
sharing_display( '', true );
}
if ( class_exists( 'Jetpack_Likes' ) ) {
$custom_likes = new Jetpack_Likes;
echo $custom_likes->post_likes( '' );
}
if ( function_exists( 'comment_form' ) ) {
wp_list_comments( array(
'walker' => new NoBordersWalkerComment,
'style' => 'ul',
'callback' => null,
'end-callback' => null,
'type' => 'all',
'page' => null,
'avatar_size' => 32
) );
comment_form();
}
?>
<?php get_footer(); ?>