-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-single.php
More file actions
51 lines (42 loc) · 1.47 KB
/
content-single.php
File metadata and controls
51 lines (42 loc) · 1.47 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
<?php
/**
* @package Arenson
* @since Arenson 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="meta-group">
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta auth-date">
<?php arenson_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'arenson' ) );
if ( $categories_list && arenson_categorized_blog() ) :
?>
<span class="entry-meta cat-links">
<?php printf( __( 'Posted in %1$s', 'arenson' ), $categories_list ); ?>
</span>
<?php endif; // End if categories ?>
<?php
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', __( ' ', 'arenson' ) );
if ( $tags_list ) :
?>
<span class="entry-meta tag-links">
<?php the_tags( '', '<br />', '<br />' ); ?>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if 'post' == get_post_type() ?>
<div class="entry-meta sharing">
<?php if(function_exists('kc_add_social_share')) kc_add_social_share(); ?>
</div>
</div><!-- .entry-meta -->
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
<div class="clearfix"></div>
</article><!-- #post-<?php the_ID(); ?> -->