-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
executable file
·46 lines (41 loc) · 1.3 KB
/
content-single.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
<?php
/**
* The template used for displaying post content in single.php
*
* @package Theme Point-B
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-meta">
<?php pointb_posted_on(); ?>
<?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
<span class="comments-link">
<?php comments_popup_link( __( '0 Commentaire', 'pointb' ), __( '1 Commentaire', 'pointb' ), __( '% Commentaires', 'pointb' ) ); ?>
</span>
<?php endif; ?>
<!-- .entry-meta --></div>
<!-- .entry-header --></header>
<div class="clearfix entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages :', 'pointb' ),
'after' => '</div>',
) );
?>
<!-- .entry-content --></div>
<footer class="entry-meta entry-footer">
<?php if ( 'post' == get_post_type() ) : ?>
<?php
$tags_list = get_the_tag_list( '', __( '', 'pointb' ) );
if ( $tags_list ) :
?>
<span class="tags-links">
<?php printf( __( '%1$s', 'pointb' ), $tags_list ); ?>
</span>
<?php endif; ?>
<?php endif; ?>
<!-- .entry-footer --></footer>
<!-- #post-<?php the_ID(); ?> --></article>