-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.php
49 lines (40 loc) · 1.28 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
47
48
49
<?php
/**
* The template part for displaying content
*
* @package ClassicPress
* @subpackage Themename
* @since Themename 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="content-title">
<h2><?php the_title(); ?></h2>
<figure class="linked-attachment-container">
<a class="imgwrap-link"
href ="<?php echo esc_url( get_attachment_link( get_post_thumbnail_id() ) ); ?>"
title="<?php the_title_attribute( 'before=Permalink to: &after=' ); ?>">
<?php
the_post_thumbnail( 'medium_large', array(
'itemprop' => 'image',
'class' => 'harmony-featured',
'alt' => get_attachment_link( get_post_thumbnail_id() )
)
); ?></a>
</figure>
</header>
<div class="entry-content">
<?php the_content(); ?>
<div class="link-pages">
<?php wp_link_pages(); ?>
</div>
</div><!-- .entry-content -->
<div class="article-info">
<div class="post-footer">
<p><i class="ic-calendar-day"></i><span class="post_footer-date">
<?php printf( esc_attr( get_the_date() ) ); ?></span>
<i class="ic-category-folder"></i><span><?php the_category( ' • ' ); ?></span>
<i class="ic-tags-list"></i><span><?php the_tags('<em class="tags">', ' ', '</em>'); ?></span></p>
</div>
</div>
</article><!-- #post-## -->