How to Change Footer Copyright Credit Text in the Storefront Theme 2 months ago

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 wich looks like this

storefront footer text

Storefront Change Footer Text

Create and install an 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.

This function will replace a function called storefront_credit(), which is responsible to output the footer thext. This function is placed on the file \storefront\inc\storefront-template-functions.phpWhy this works ?

The original function in the mentioned file is wrapped with a conditional statements that checks if the functions 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

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">