-
Notifications
You must be signed in to change notification settings - Fork 4
/
content.php
48 lines (48 loc) · 1.75 KB
/
content.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
<?php
if (!easel_is_bbpress()) easel_display_blog_navigation();
if (!is_home() && !is_archive() && !is_search()) { easel_display_post_thumbnail('large'); ?><div class="clear"></div><?php }
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php if (is_home() || is_archive() || is_search()) easel_display_post_thumbnail('thumbnail'); ?>
<?php if (!easel_is_bbpress()) easel_display_author_gravatar(); ?>
<div class="post-info">
<?php
easel_display_post_title();
if (!easel_is_bbpress()) easel_display_post_calendar();
if (is_sticky()) { ?><div class="sticky-image">Featured Post</div><?php }
if (function_exists('easel_show_mood_in_post')) easel_show_mood_in_post();
?>
<div class="post-text">
<?php
easel_display_post_author();
easel_display_post_date();
easel_display_post_time();
easel_display_modified_date_time();
easel_display_post_category();
/* Integrate the WP-Plugin: WP-PostRatings */
if (function_exists('the_ratings') && $post->post_type == 'post') { the_ratings(); }
do_action('easel-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 easel_display_the_content(); ?>
<div class="clear"></div>
</div>
<div class="post-extras">
<?php
easel_display_post_tags();
do_action('easel-post-extras');
easel_display_comment_link();
?>
<div class="clear"></div>
</div>
<?php edit_post_link(__( 'Edit this post.', 'easel' ), '', ''); ?>
<div class="clear"></div>
</div>
<div class="clear"></div>
</article>