Fix next/previous post float class
This commit is contained in:
parent
8596e8faf7
commit
86db306e43
|
@ -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> %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> %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 <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 <i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div><!-- .nav-links -->
|
</div><!-- .nav-links -->
|
||||||
|
|
Reference in New Issue