Selaa lähdekoodia

move the WordPress credit into the site name template

Ben Dwyer 4 vuotta sitten
vanhempi
commit
ffcae3fef1

+ 0 - 6
alves/template-parts/footer/footer-info.php

@@ -1,9 +1,3 @@
 <div class="site-info">
 	<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-	<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'alves' ) ); ?>" class="imprint">
-		<?php
-		/* translators: %s: WordPress. */
-		printf( __( 'proudly powered by %s.', 'alves' ), 'WordPress' );
-		?>
-	</a>
 </div>

+ 0 - 6
balasana/template-parts/footer/footer-content.php

@@ -50,11 +50,5 @@
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'balasana' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'balasana' ), 'WordPress' );
-			?>
-		</a>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 6
brompton/template-parts/footer/footer-content.php

@@ -15,12 +15,6 @@
 	<?php endif; ?>
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'varia' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
-			?>
-		</a>
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 6
dalston/template-parts/footer/footer-content.php

@@ -26,12 +26,6 @@
 
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'varia' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
-			?>
-		</a>
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 6
rivington/template-parts/footer/footer-content.php

@@ -29,11 +29,5 @@
 
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'rivington' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'rivington' ), 'WordPress' );
-			?>
-		</a>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 6
rockfield/template-parts/footer/footer-content.php

@@ -32,11 +32,5 @@
 	<?php endif; ?>
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'rockfield' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'rockfield' ), 'WordPress' );
-			?>
-		</a>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 6
stratford/template-parts/footer/footer-content.php

@@ -18,11 +18,5 @@
 	<div class="site-info">
 		<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 		<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-		<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'varia' ) ); ?>" class="imprint">
-			<?php
-			/* translators: %s: WordPress. */
-			printf( __( 'proudly powered by %s.', 'varia' ), 'WordPress' );
-			?>
-		</a>
 	</div><!-- .site-info -->
 </footer><!-- #colophon -->

+ 0 - 8
varia/template-parts/footer/footer-info.php

@@ -1,12 +1,4 @@
 <div class="site-info">
 	<?php get_template_part( 'template-parts/footer/site-name', '' ); ?>
-	<?php
-	/* translators: 1: WordPress link, 2: WordPress. */
-	printf(
-		'<a href="%1$s" class="imprint">proudly powered by %2$s</a>.',
-		esc_url( __( 'https://wordpress.org/', 'varia' ) ),
-		'WordPress'
-	);
-	?>
 	<?php get_template_part( 'template-parts/footer/privacy-policy', '' ); ?>
 </div><!-- .site-info -->

+ 8 - 0
varia/template-parts/footer/site-name.php

@@ -2,3 +2,11 @@
 <?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>
 <?php endif; ?>
+<?php
+	/* translators: 1: WordPress link, 2: WordPress. */
+	printf(
+		'<a href="%1$s" class="imprint">proudly powered by %2$s</a>.',
+		esc_url( __( 'https://wordpress.org/', 'varia' ) ),
+		'WordPress'
+	);
+	?>