Merge pull request #879 from IanDelMar/patch-3
Fix indentation - thx again @IanDelMar
This commit is contained in:
commit
c85f9e08e9
|
@ -74,7 +74,7 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) {
|
||||||
|
|
||||||
$html = str_replace( 'class="custom-logo"', 'class="img-fluid"', $html );
|
$html = str_replace( 'class="custom-logo"', 'class="img-fluid"', $html );
|
||||||
$html = str_replace( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html );
|
$html = str_replace( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html );
|
||||||
$html = str_replace( 'alt=""', 'title="Home" alt="logo"' , $html );
|
$html = str_replace( 'alt=""', 'title="Home" alt="logo"', $html );
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,6 @@ if ( ! function_exists ( 'understrap_post_nav' ) ) {
|
||||||
<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' ) );
|
||||||
}
|
}
|
||||||
|
@ -108,7 +107,6 @@ if ( ! function_exists ( 'understrap_post_nav' ) ) {
|
||||||
?>
|
?>
|
||||||
</div><!-- .nav-links -->
|
</div><!-- .nav-links -->
|
||||||
</nav><!-- .navigation -->
|
</nav><!-- .navigation -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue