Browse Source

another small refactor

Ben Dwyer 4 years ago
parent
commit
217cd6e309

+ 1 - 4
brompton/template-parts/footer/footer-content.php

@@ -15,8 +15,5 @@
 			?>
 	<?php endif; ?>
 
-		<div class="site-info">
-			<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-			<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
-		</div><!-- .site-info -->
+		<?php get_template_part( 'template-parts/footer/footer', 'info' ); ?>
 	</footer><!-- #colophon -->

+ 1 - 4
dalston/template-parts/footer/footer-content.php

@@ -15,8 +15,5 @@
 			?>
 	<?php endif; ?>
 
-		<div class="site-info">
-			<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-			<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
-		</div><!-- .site-info -->
+		<?php get_template_part( 'template-parts/footer/footer', 'info' ); ?>
 	</footer><!-- #colophon -->