瀏覽代碼

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">
 		<?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' ) ) : ?>
 			<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'varia' ); ?>">
 				<?php
@@ -45,6 +40,11 @@
 				/* translators: %s: 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>
 		</div><!-- .site-info -->
 	</footer><!-- #colophon -->