forked from seoagentur-hamburg/techbrain.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-archive.php
27 lines (26 loc) · 1.07 KB
/
content-archive.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
<?php
/**
* @package Graphy
*/
?>
<div class="post-full post-full-summary">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( is_sticky() && is_home() && ! is_paged() ): ?>
<div class="featured"><?php esc_html_e( 'Featured', 'graphy' ); ?></div>
<?php endif; ?>
<?php graphy_category(); ?>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php graphy_entry_meta(); ?>
<?php if ( has_post_thumbnail() ): ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
</div><!-- .post-thumbnail -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_excerpt(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'graphy' ), 'after' => '</div>', 'pagelink' => '<span class="page-numbers">%</span>', ) ); ?>
</div><!-- .entry-content -->
</article><!-- #post-## -->
</div><!-- .post-full -->