Update content.php
This commit is contained in:
parent
ba909450b6
commit
35096acab3
|
@ -14,8 +14,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
|
|
||||||
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
|
<?php
|
||||||
'</a></h2>' ); ?>
|
the_title(
|
||||||
|
sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ),
|
||||||
|
'</a></h2>'
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
|
||||||
<?php if ( 'post' == get_post_type() ) : ?>
|
<?php if ( 'post' == get_post_type() ) : ?>
|
||||||
|
|
||||||
|
@ -31,15 +35,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
|
|
||||||
<?php
|
<?php the_excerpt(); ?>
|
||||||
the_excerpt();
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
wp_link_pages( array(
|
wp_link_pages(
|
||||||
'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ),
|
array(
|
||||||
'after' => '</div>',
|
'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ),
|
||||||
) );
|
'after' => '</div>',
|
||||||
|
)
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
|
Reference in New Issue