Fix indentation
This commit is contained in:
parent
f1d17707db
commit
8bfabce83d
|
@ -94,21 +94,19 @@ if ( ! function_exists ( 'understrap_post_nav' ) ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<nav class="container navigation post-navigation">
|
<nav class="container navigation post-navigation">
|
||||||
<h2 class="sr-only"><?php _e( 'Post navigation', 'understrap' ); ?></h2>
|
<h2 class="sr-only"><?php _e( 'Post navigation', 'understrap' ); ?></h2>
|
||||||
<div class="row nav-links justify-content-between">
|
<div class="row nav-links justify-content-between">
|
||||||
<?php
|
<?php
|
||||||
|
if ( get_previous_post_link() ) {
|
||||||
if ( get_previous_post_link() ) {
|
previous_post_link( '<span class="nav-previous">%link</span>', _x( '<i class="fa fa-angle-left"></i> %title', 'Previous post link', 'understrap' ) );
|
||||||
previous_post_link( '<span class="nav-previous">%link</span>', _x( '<i class="fa fa-angle-left"></i> %title', 'Previous post link', 'understrap' ) );
|
}
|
||||||
}
|
if ( get_next_post_link() ) {
|
||||||
if ( get_next_post_link() ) {
|
next_post_link( '<span class="nav-next">%link</span>', _x( '%title <i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
|
||||||
next_post_link( '<span class="nav-next">%link</span>', _x( '%title <i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</div><!-- .nav-links -->
|
||||||
</div><!-- .nav-links -->
|
</nav><!-- .navigation -->
|
||||||
</nav><!-- .navigation -->
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue