瀏覽代碼

Fix social nav formatting bug.

Jeff Ong 4 年之前
父節點
當前提交
65c5657de8
共有 1 個文件被更改,包括 7 次插入8 次删除
  1. 7 8
      spearhead/header.php

+ 7 - 8
spearhead/header.php

@@ -58,14 +58,13 @@ $header_classes .= $has_primary_nav ? ' has-menu' : '';
 						if ( has_nav_menu( 'social' ) ) :
 							wp_nav_menu(
 								array(
-									'theme_location' => 'social',
-									'link_before'    => '<span class="screen-reader-text">',
-									'link_after'     => '</span>' . seedlet_get_icon_svg(
-										'link',
-										'container_class' => 'social-navigation',
-										'depth'           => 1
-									),
-								);
+									'theme_location'  => 'social',
+									'link_before'     => '<span class="screen-reader-text">',
+									'link_after'      => '</span>' . seedlet_get_icon_svg( 'link' ),
+									'container_class' => 'social-navigation',
+									'depth'           => 1,
+								),
+							);
 						endif;
 						?>
 					</div><!-- .extra-navigation-wrapper -->