瀏覽代碼

Merge pull request #1353 from Automattic/fix/balasana-footer

Balasana: Footer Menus, fix PHP logic
Thomas Guillot 5 年之前
父節點
當前提交
4e861c0002
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.
 				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">
 
 						<?php if ( has_nav_menu( 'menu-2' ) ) : ?>