-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
43 lines (30 loc) · 1.49 KB
/
content.php
File metadata and controls
43 lines (30 loc) · 1.49 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
<?php
global $post;
get_template_part('content','sidebar');
do_action('ase_theme_post_before'); //action ?>
<!-- Story Entry -->
<article id="post-<?php the_ID(); ?>" <?php post_class('andersen-content-right andersen-entry-content aesop-entry-content clearfix'); ?>>
<?php do_action('ase_theme_post_inside_top'); //action ?>
<?php the_content(); ?>
<?php wp_link_pages( array(
'before' => '<div class="andersen-page-links"><span class="andersen-page-links-title">' . __( 'Pages:', 'andersen' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) ); ?>
<?php if (is_single()){ ?>
<div class="andersen-post-meta">
<div class="andersen-cat-links"><?php echo get_the_category_list( _x( '<span>·</span> ', '', 'andersen' ) ); ?></div>
<?php echo get_the_tag_list('<div class="andersen-tag-links">','<span>·</span> ','</div>'); ?>
<a class="andersen-comments-toggle" href="#" onclick="return false;" data-target="#andersen-comments" data-toggle="collapse"><i class="andersencon andersencon-comments"></i> <?php comments_number( ' ', '<span>1</span>', '<span>%</span>' ); ?></a>
</div>
<?php }
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
get_template_part('partials/story-pager');
?>
<?php do_action('ase_theme_post_inside_bottom'); //action ?>
</article>
<?php do_action('ase_theme_post_after'); //action ?>