Storefront Theme: Edit or Remove Footer Credits

The Storefront theme developed by WooCommerce/Automattic comes with default footer credits content: “Built with Storefront & WooCommerce | Privacy Policy | Copyright Website 2020“.

Thankfully, this default content comes with “hooks”, so it’s possible to override such behavior without touching core files or duplicating templates. So, here are a few snippets you can use to edit or remove the Storefront theme copyright content. Enjoy!

On top you can see the default Storefront theme copyright content. It features a first line with the website name, and a second line that links to woocommerce.com. In the red rectangle you see the HTML that is generating such content.

PHP Snippet 1: Completely Remove the Storefront Theme Copyright (Credits)

/**
 * @snippet       Remove Storefront Theme Copyright
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_action( 'wp', 'bbloomer_remove_storefront_credits' );

function bbloomer_remove_storefront_credits() {
   remove_action( 'storefront_footer', 'storefront_credit', 20 );
}

PHP Snippet 2: Remove the Storefront Theme Copyright Link “Built with Storefront” Only

/**
 * @snippet       Remove Storefront Theme Copyright Link
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'storefront_credit_link', '__return_false' );

PHP Snippet 3: Remove the Storefront Theme Copyright Privacy Policy Link Only

/**
 * @snippet       Remove Storefront Theme Copyright Privacy
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'storefront_privacy_policy_link', '__return_false' );

PHP Snippet 4: Remove the Storefront Theme Copyright Link “Built with Storefront” + Privacy Policy

/**
 * @snippet       Remove Storefront Theme Copyright Link + Privacy
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'storefront_credit_links_output', '__return_empty_string' );

PHP Snippet 5: Remove the Storefront Theme Footer Text “Copyright Website 2020” Only

/**
 * @snippet       Remove Storefront Theme Copyright Text
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'storefront_copyright_text', '__return_empty_string' );

PHP Snippet 6: Edit the Storefront Theme Footer Text “Copyright Website 2020”

/**
 * @snippet       Edit Storefront Theme Copyright Text
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli, BusinessBloomer.com
 * @testedwith    WooCommerce 4.6
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_filter( 'storefront_copyright_text', 'bbloomer_edit_storefront_copyright_text' );

function bbloomer_edit_storefront_copyright_text() {
   $text = 'Copyright 2011-' . date( 'Y' ) . ' by Rodolfo Melogli';
   return $text;
}

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (delete "?>" if you have it there). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"

Does this snippet (still) work?

Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7.3.

If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce?

Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

4 thoughts on “Storefront Theme: Edit or Remove Footer Credits

  1. Very good text, I was looking for a long time why it cannot be changed in this template

  2. AAaand the turbo version: add widget area to footer credits:

    //remove footer credits 
    function storefront_remove_footer_credits() {
    	remove_action( 'storefront_footer', 'storefront_credit', 20 );
    }
    add_action('template_redirect', 'storefront_remove_footer_credits');
    
    //make footer credits widget area
    function dexter_storefront_footer_credits_widget_area_init() {
     
        register_sidebar( array(
            'name'          => 'Footer credits',
            'id'            => 'storefront-footer-credits-widget-area',
            'before_widget' => '<div class="storefront-footer-credits-widget-area-widget">',
            'after_widget'  => '</div>',
            'before_title'  => '<h2 class="storefront-footer-credits-widget-area-title">',
            'after_title'   => '</h2>',
        ) );
     
    }
    add_action( 'widgets_init', 'dexter_storefront_footer_credits_widget_area_init' );
    
    function dexter_storefront_footer_credits_widget_area() {
    	dynamic_sidebar( 'storefront-footer-credits-widget-area' );
    }
    
    add_action( 'storefront_footer', 'dexter_storefront_footer_credits_widget_area', 20 );
    
    1. Cool stuff

Questions? Feedback? Support? Leave your Comment Now!
_____

If you are writing code, please wrap it between shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)

Your email address will not be published.