-
Notifications
You must be signed in to change notification settings - Fork 7
/
content.php
46 lines (41 loc) · 1.41 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
<?php
/**
* @package Amadeus
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() && ( get_theme_mod( 'index_feat_image' ) != 1 ) ) : ?>
<div class="entry-thumb">
<?php the_post_thumbnail('amadeus-entry-thumb'); ?>
<div class="entry-thumb-inner">
</div>
<a class="thumb-icon" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" ><i class="fa fa-send"></i></a>
</div>
<?php endif; ?>
<div class="post-inner">
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() && !get_theme_mod('meta_index') ) : ?>
<div class="entry-meta">
<?php amadeus_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php if ( (get_theme_mod('full_content') == 1) ) : ?>
<?php the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">→</span>', 'amadeus' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) ); ?>
<?php else : ?>
<?php the_excerpt(); ?>
<?php endif; ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'amadeus' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
</div>
</article><!-- #post-## -->