forked from Codeinwp/llorix-one-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
48 lines (44 loc) · 1.88 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
47
48
<?php
/**
* The template for displaying single page content.
*
* @package llorix-one-lite
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'content-single-page' ); ?>>
<header class="entry-header single-header">
<?php the_title( '<h1 itemprop="headline" class="entry-title single-title">', '</h1>' ); ?>
<div class="colored-line-left"></div>
<div class="clearfix"></div>
<div class="entry-meta single-entry-meta">
<span class="author-link" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name" class="post-author author vcard">
<i class="fa fa-user" aria-hidden="true"></i>
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" itemprop="url" rel="author"><?php the_author(); ?></a>
</span>
</span>
<?php llorix_one_lite_after_author_in_entry_meta_trigger(); ?>
<time class="post-time posted-on published" datetime="<?php the_time( 'c' ); ?>" itemprop="datePublished">
<i class="fa fa-clock-o" aria-hidden="true"></i>
<?php the_time( get_option( 'date_format' ) ); ?>
</time>
<?php llorix_one_lite_after_date_in_entry_meta_trigger(); ?>
<a href="<?php comments_link(); ?>" class="post-comments">
<i class="fa fa-comment" aria-hidden="true"></i>
<?php comments_number( esc_html__( 'No comments','llorix-one-lite' ), esc_html__( 'One comment','llorix-one-lite' ), esc_html__( '% comments','llorix-one-lite' ) ); ?>
</a>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div itemprop="text" class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'llorix-one-lite' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php llorix_one_lite_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->