Remove or Change Storefront footer credit

//To remove the credit
add_action( 'init', 'remove_footer_credit' );
  function remove_footer_credit(){
    remove_action('storefront_footer', 'storefront_credit', 20);
  }

Or add filter to change the Storefront credit

//CHANGE STOREFRONT CREDIT 
if ( ! function_exists( 'storefront_credit' ) ) {
	 
	function storefront_credit() {
		?>
		<div class="site-info">
			<?php echo esc_html( apply_filters( 'storefront_copyright_text', $content = 'Copyright © ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) . ' Your company Name. All Rights Reserved.') ); ?>
			<?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>' );
				}
			?>
//change as needed
			<?php echo '<a href="#" 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
	}
}

My recommendation. Add a footer widget so your client can edit instead of ‘hard coding’ text in.

//Two steps
//Step One - Add to functions
function custom_footer_widgets_init() {
 
    register_sidebar( array(
        'name'          => 'Footer Bottom Center',
        'id'            => 'footer-bottom-center',
        'before_widget' => '<div class="footer-bottom-center">',
        'after_widget'  => '</div>',
        'before_title'  => '<h2 class="your-title-class">',
        'after_title'   => '</h2>',
    ) );
 
}
add_action( 'widgets_init', 'custom_footer_widgets_init' );
-----------------------
//Step two - Add to footer.php. (Make a copy and place in your child theme)

<?php

if ( is_active_sidebar( 'footer-bottom-center' ) ) : ?>
    <div id="footer-bottom-center-area" class="footer-bottom-center-area widget-area" role="complementary">
    <?php dynamic_sidebar( 'footer-bottom-center' ); ?>
    </div>
     
<?php endif; ?>
No Comments

Sorry, the comment form is closed at this time.