wordpress/php-fpm/wordpress_files/themes/ofiok2018/loop-templates/content-page.php

41 lines
786 B
PHP
Raw Permalink Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* Partial template for content in page.php
*
* @package understrap
*/
?>
<article <?php post_class(card); ?> id="post-<?php the_ID(); ?>">
<div class="card-body">
<header class="entry-header card-title">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
</header><!-- .entry-header -->
<?php echo get_the_post_thumbnail( $post->ID, 'large' ); ?>
<div class="entry-content card-text">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
</div>
<?php edit_post_link( __( 'Edit', 'understrap' ), '<span class="edit-link card-footer">', '</span>' ); ?>
</article><!-- #post-## -->