Browse Source

Privacy Policy if condition fix.

Jeffrey Pearce 5 years ago
parent
commit
eeabd84b3a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      stratford/footer.php

+ 4 - 4
stratford/footer.php

@@ -33,13 +33,13 @@
 			</nav><!-- .social-navigation -->
 		<?php endif; ?>
 		<div class="site-info">
-			<div class="privacy-policy-container">
 			<?php
-			if ( function_exists( 'the_privacy_policy_link' ) ) {
-				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
+			if ( function_exists( 'the_privacy_policy_link' ) ) { ?>
+				<div class="privacy-policy-container">
+				<?php the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); ?>
+				</div><?php 
 			}
 			?>
-			</div>
 			<?php $blog_info = get_bloginfo( 'name' ); ?>
 			<?php if ( ! empty( $blog_info ) ) : ?>
 				<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a><span class="comma">,</span>