diff options
| author | Max | 2017-05-18 14:03:27 +0200 |
|---|---|---|
| committer | Max | 2017-05-18 14:03:27 +0200 |
| commit | f597e2fe949a1e18eb778b9a5bd102de88570555 (patch) | |
| tree | 7e42e6f91dd3e764cd2cf0c4f61f48501c2ed98f /loop-templates/content-jumbo.php | |
| download | docs.maxmail.xyz-f597e2fe949a1e18eb778b9a5bd102de88570555.tar.gz | |
Diffstat (limited to 'loop-templates/content-jumbo.php')
| -rw-r--r-- | loop-templates/content-jumbo.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/loop-templates/content-jumbo.php b/loop-templates/content-jumbo.php new file mode 100644 index 0000000..e2ec8a5 --- /dev/null +++ b/loop-templates/content-jumbo.php @@ -0,0 +1,32 @@ +<?php +/** + * The template used for displaying page content in page.php + * + * @package understrap + */ +?> + +<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + + <?php echo get_the_post_thumbnail( $post->ID, 'large' ); ?> + + <div class="entry-content"> + + <?php the_content(); ?> + + <?php + wp_link_pages( array( + 'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ), + 'after' => '</div>', + ) ); + ?> + + </div><!-- .entry-content --> + + <footer class="entry-footer"> + + <?php edit_post_link( __( 'Edit', 'understrap' ), '<span class="edit-link">', '</span>' ); ?> + + </footer><!-- .entry-footer --> + +</article><!-- #post-## --> |
