Procházet zdrojové kódy

stratford social nav

Maggie Cabrera před 4 roky
rodič
revize
00ed303270
1 změnil soubory, kde provedl 1 přidání a 15 odebrání
  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">
 	<?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">
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>