Update content.php

This commit is contained in:
IanDelMar 2018-11-19 00:18:19 +01:00
parent ba909450b6
commit 35096acab3
1 changed files with 13 additions and 9 deletions

View File

@ -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 -->