Use standard credit line in Pixl footer (#7442)

This commit is contained in:
Miguel San Segundo 2023-10-25 16:01:08 +07:00 committed by GitHub
parent 2b8564a491
commit b600af90f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,13 @@
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)"><!-- wp:paragraph {"align":"center","fontSize":"small"} -->
<p class="has-text-align-center has-small-font-size">
<?php
/* Translators: Theme name. */
$theme_name = '<strong>' . esc_html__( 'Pixl Theme', 'pixl' ) . '</strong>';
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'pixl' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( '%1$s, Proudly Powered by %2$s', 'pixl' ),
$theme_name,
$wordpress_link
);
?>
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'pixl' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'pixl' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->