浏览代码

Brompton: Fix privacy policy link positionning.

Allan Cole 5 年之前
父节点
当前提交
e48dd261a7
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      brompton/footer.php

+ 5 - 5
brompton/footer.php

@@ -17,11 +17,6 @@
 
 
 	<footer id="colophon" class="site-footer">
 	<footer id="colophon" class="site-footer">
 		<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
 		<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
-		<?php
-		if ( function_exists( 'the_privacy_policy_link' ) ) {
-			the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
-		}
-		?>
 		<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
 		<?php if ( has_nav_menu( 'menu-2' ) ) : ?>
 			<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'varia' ); ?>">
 			<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'varia' ); ?>">
 				<?php
 				<?php
@@ -45,6 +40,11 @@
 				/* translators: %s: WordPress. */
 				/* translators: %s: WordPress. */
 				printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
 				printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
 				?>
 				?>
+				<?php
+				if ( function_exists( 'the_privacy_policy_link' ) ) {
+					the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+				}
+				?>
 			</a>
 			</a>
 		</div><!-- .site-info -->
 		</div><!-- .site-info -->
 	</footer><!-- #colophon -->
 	</footer><!-- #colophon -->