How to Change Footer Copyright Credit Text in the Storefront Theme

Recently we should deal with Storefront, the latest theme developed by the Woocommerce team, to create the demo site of QuadMenu. One of the things that we notice on the beginning was that there are no options to easily change the default footer credit text.

The copyright text is one of the first settings any developer change when you start to customize your theme but and although Storefront is a well designed and coded theme, the only way to change the footer copyright is thought a child theme.

Storefront Default Footer Text

After the installation, the Storefront set a default credit text in the footer which looks like this

storefront footer text

Storefront Change Footer Text

Create and install a Storefront child theme. If you’re not sure about how to build a child theme for Storefront, please visit this tutorial.

Then just write a function in your child theme’s functions.php file.

function storefront_credit() {
    ?>
    <div class="site-info">
        © QuadLayers 2018 <br/> <a href="http://quadmenu.com/storefront" target="_blank" title="QuadMenu - Storefront Mega Menu" rel="author">QuadMenu - Storefront Mega Menu</a>
    </div><!-- .site-info -->
    <?php
}
This function will replace a function called storefront_credit(), that is responsible to output the footer text. This function is placed on the file \storefront\inc\storefront-template-functions.php
Why does it work?
The original function in the mentioned file is wrapped with a conditional statement that checks if the function was previously declared.
If a function with this name exists, then the original function will be replaced with yours.

Storefront Footer Text Plugin

An other option is to use the plugin we’ve prepared to do this task. You’ll only have install and activate and the set your footer settings in the admin panel, pretty symple!

Download : Storefront Footer Text