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

40 lines
911 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* Single post partial template.
*
* @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 -->
<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><!-- .card-body -->
<?php echo get_the_post_thumbnail( $post->ID, 'large', array( 'class' => 'card-img-bottom' ) ); ?>
<footer class="entry-footer card-footer">
<div class="entry-meta">
<?php understrap_posted_on(); ?>
</div><!-- .entry-meta -->
</footer><!-- .entry-footer -->
</article><!-- #post-## -->