浏览代码

Varia: Improve appreance of privacy policy link.gst

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

+ 3 - 4
varia/footer.php

@@ -22,10 +22,6 @@
 				$template->output_template_content( A8C\FSE\WP_Template::FOOTER );
 			else : // Otherwise we'll fallback to the default Varia footer below.
 				get_template_part( 'template-parts/footer/footer', 'widgets' );
-				
-				if ( function_exists( 'the_privacy_policy_link' ) ) {
-					the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
-				}
 
 				if ( has_nav_menu( 'menu-2' ) ) : ?>
 					<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'varia' ); ?>">
@@ -54,6 +50,9 @@
 				printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
 				?>
 			</a>
+			<?php if ( function_exists( 'the_privacy_policy_link' ) ) {
+				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+			} ?>
 		</div><!-- .site-info -->
 	</footer><!-- #colophon -->