Fix next/previous post float class

This commit is contained in:
Kostas Vrouvas 2017-04-26 12:47:02 +03:00
parent 8596e8faf7
commit 86db306e43
1 changed files with 2 additions and 2 deletions

View File

@ -98,10 +98,10 @@ if ( ! function_exists( 'understrap_post_nav' ) ) :
<?php
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() ) {
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 -->