mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 11:01:07 +01:00
40 lines
911 B
PHP
40 lines
911 B
PHP
|
<?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-## -->
|