Merge pull request #298 from kosvrouvas/master

Fix next/previous post links not floating correctly - Thx @kosvrouvas
This commit is contained in:
Holger 2017-04-29 11:07:22 +02:00 committed by GitHub
commit 229627ca8b
1 changed files with 2 additions and 2 deletions

View File

@ -98,10 +98,10 @@ if ( ! function_exists( 'understrap_post_nav' ) ) :
<?php <?php
if ( get_previous_post_link() ) { if ( get_previous_post_link() ) {
previous_post_link( '<span class="nav-previous float-xs-left">%link</span>', _x( '<i class="fa fa-angle-left"></i>&nbsp;%title', 'Previous post link', 'understrap' ) ); previous_post_link( '<span class="nav-previous float-sm-left">%link</span>', _x( '<i class="fa fa-angle-left"></i>&nbsp;%title', 'Previous post link', 'understrap' ) );
} }
if ( get_next_post_link() ) { if ( get_next_post_link() ) {
next_post_link( '<span class="nav-next float-xs-right">%link</span>', _x( '%title&nbsp;<i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) ); next_post_link( '<span class="nav-next float-sm-right">%link</span>', _x( '%title&nbsp;<i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
} }
?> ?>
</div><!-- .nav-links --> </div><!-- .nav-links -->