-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathcontent-comic.php
85 lines (60 loc) · 1.69 KB
/
content-comic.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php
if ( ! comicpress_is_bbpress() ) comicpress_display_author_gravatar();
?>
<div class="post-info">
<?php
comicpress_display_post_title();
if ( ! comicpress_is_bbpress() ) comicpress_display_post_calendar();
if ( is_sticky() ) {
?>
<div class="sticky-image">
<?php esc_html_e( 'Featured Post', 'comicpress' ); ?>
</div>
<?php
}
if ( function_exists( 'comicpress_show_mood_in_post' ) ) comicpress_show_mood_in_post();
?>
<div class="post-text">
<?php
comicpress_display_post_author();
comicpress_display_post_date();
comicpress_display_post_time();
comicpress_display_modified_date_time();
comicpress_display_post_category();
if ( function_exists( 'the_ratings' ) && $post->post_type == 'post' ) {
the_ratings();
}
do_action( 'comicpress-post-info' );
do_action( 'comic-post-info' );
wp_link_pages( array(
'before' => '<div class="linkpages"><span class="linkpages-pagetext">Pages:</span> ',
'after' => '</div>',
'next_or_number' => 'number',
) );
?>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="entry">
<?php
comicpress_display_the_content();
?>
<div class="clear"></div>
</div>
<div class="post-extras">
<?php
comicpress_display_post_tags();
do_action( 'comicpress-post-extras' );
do_action( 'comic-post-extras' );
comicpress_display_comment_link();
?>
<div class="clear"></div>
</div>
<?php
edit_post_link( __( 'Edit this comic.', 'comicpress' ), '', '' );
?>
</div>
</article>