소스 검색

stratford social nav

Maggie Cabrera 4 년 전
부모
커밋
00ed303270
1개의 변경된 파일1개의 추가작업 그리고 15개의 파일을 삭제
  1. 1 15
      stratford/template-parts/footer/footer-content.php

+ 1 - 15
stratford/template-parts/footer/footer-content.php

@@ -1,20 +1,6 @@
 <footer id="colophon" class="site-footer responsive-max-width">
 <footer id="colophon" class="site-footer responsive-max-width">
 	<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
 	<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
-	<?php if ( has_nav_menu( 'social' ) ) : ?>
-		<nav class="footer-navigation social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'varia' ); ?>">
-			<?php
-			wp_nav_menu(
-				array(
-					'theme_location' => 'social',
-					'menu_class'     => 'social-links-menu',
-					'link_before'    => '<span class="screen-reader-text">',
-					'link_after'     => '</span>' . varia_get_icon_svg( 'link' ),
-					'depth'          => 1,
-				)
-			);
-			?>
-		</nav><!-- .social-navigation -->
-	<?php endif; ?>
+	<?php get_template_part( 'template-parts/header/social', 'navigation' ); ?>
 	<div class="site-info">
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>