hello, i have the same problem, do you find it ?
best regards
Job a11n
(@jobthomas)
Automattic Happiness Engineer
Hi @bkws and @dambuster0, adding this little bit of CSS will do the trick, if you do not have other links in the site info:
.site-info a {
display: none;
}
You can add the code at Customize > Additional CSS.
The best solution would be to remove credit hook “storefront_credit” from “storefront_footer”. This can be find in footer file. Simple add the below code to your theme or child theme “functions.php”
remove_action(storefront_footer, storefront_credit,20);
-
This reply was modified 6 years, 1 month ago by Owaisbhat. Reason: adding code tags
-
This reply was modified 6 years, 1 month ago by Owaisbhat.
You have a better choice if you still want the credit text, but need to modifi it.
In the file: themes>storefront>inc>storefront-template-functions.php
Copy the line 118-142
if ( ! function_exists( 'storefront_credit' ) ) {
/**
* Display the theme credit
*
* @since 1.0.0
* @return void
*/
function storefront_credit() {
?>
<div class="site-info">
<?php echo esc_html( apply_filters( 'storefront_copyright_text', $content = '© ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?>
<?php if ( apply_filters( 'storefront_credit_link', true ) ) { ?>
<br />
<?php
if ( apply_filters( 'storefront_privacy_policy_link', true ) && function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
<?php echo '<a href="https://woocommerce.com" target="_blank" title="' . esc_attr__( 'WooCommerce - The Best eCommerce Platform for WordPress', 'storefront' ) . '" rel="author">' . esc_html__( 'Built with Storefront & WooCommerce', 'storefront' ) . '</a>.' ?>
<?php } ?>
</div><!-- .site-info -->
<?php
}
}
Modify as you wish:
- https://woocommerce.com
- WooCommerce – The Best eCommerce Platform for WordPress
- Built with Storefront & WooCommerce
And paste it into you child themes functions.php Before the closing ?>
php tag