-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-grid.php
More file actions
25 lines (21 loc) · 923 Bytes
/
content-grid.php
File metadata and controls
25 lines (21 loc) · 923 Bytes
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
<?php
/**
* The template used for displaying featured page content in page-templates/front-page.php
*
* @package Edin
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php edin_post_thumbnail(); ?>
<?php the_title( sprintf( '<header class="entry-header"><h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1></header>' ); ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
<p><a class="more-link" href="<?php the_permalink(); ?>" rel="bookmark">
<?php
/* translators: %s: Name of page. Visible to screen readers only. */
printf( __( 'Read more %s', 'edin' ), the_title( '<span class="screen-reader-text">', '</span>', false ) );
?>
</a></p>
</div><!-- .entry-summary -->
<?php edit_post_link( __( 'Edit', 'edin' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->