Browse Source

Balasana: Footer Menus, fix PHP logic

Thomas Guillot 5 years ago
parent
commit
457ffbaf85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      balasana/footer.php

+ 1 - 1
balasana/footer.php

@@ -23,7 +23,7 @@
 			else : // Otherwise we'll fallback to the default Balasana footer below.
 			else : // Otherwise we'll fallback to the default Balasana footer below.
 				get_template_part( 'template-parts/footer/footer', 'widgets' );
 				get_template_part( 'template-parts/footer/footer', 'widgets' );
 
 
-				if ( has_nav_menu( 'menu-2' ) && has_nav_menu( 'social' ) ) : ?>
+				if ( has_nav_menu( 'menu-2' ) || has_nav_menu( 'social' ) ) : ?>
 					<div class="footer-menus">
 					<div class="footer-menus">
 
 
 						<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
 						<?php if ( has_nav_menu( 'menu-2' ) ) : ?>