by Adam Preiser updated July 28, 2019

How To Change The Footer In The Storefront WordPress Theme

Share:

Share on facebook
Share on twitter
Share on linkedin

If you are a fan of the Storefront theme for building an ecommerce website, but want to get rid of that pesky copyright in the footer, then this video is for you.

Surprisingly, its really simple to change the Storefront copyright. All you have to do is add a custom function.

add_action( 'init', 'custom_remove_footer_credit', 10 );

function custom_remove_footer_credit () {
    remove_action( 'storefront_footer', 'storefront_credit', 20 );
    add_action( 'storefront_footer', 'custom_storefront_credit', 20 );
}

function custom_storefront_credit() {
    ?>
    <div class="site-info">
        © <?php echo get_bloginfo( 'name' ) . ' ' . get_the_date( 'Y' ); ?>
    </div><!-- .site-info -->
    <?php
}

Now there are several ways to do this, and I cover the easiest way in the video.

If you have any issues, let me know.

Enjoy!

Video Transcript

How To Change The Footer In The Storefront WordPress Theme

Adam
Adam
My passion is making the best quality video tutorial online, for non-techies. When I am not behind the camera, I am usually helping out one of my YouTube subscribers.

Join The Conversation

Your email address will not be published. Required fields are marked *

  1. Hi Adam,

    Does this still for for 2020? I’m trying right now and it doesn’t appear to do anything to the footer. Any thoughts? Thanks!

  2. Hey Adam,

    The Y function gives me 2017 instead of 2019. How can I fix this?
    Thanks!

    1. That is quite bizarre, I wonder what the year is set to on the server where your website is hosted. Because that’s where it’s getting that year from.

      1. Hi Adam, It worked, and I can live with 2017 as that is what it’s done as well.
        Cheers.

      2. get_the_date gets the date of posting, if you want the current date instead you need to use date
        so change
        get_the_date( ‘Y’ )
        to
        date( ‘Y’ )

  3. That code actually broke my entire website and had to remove the plugin through FTP. Both site and wp-admin displayed technical difficulties error

  4. Hi
    Thank you for the videos – I can’t find the code.
    Can you help me?

  5. my templates wp Theme: Easy Store by Mystery Themes. and not deleted foother copright. this plugin does not work on this theme what can i do

  6. I got this message when I tried to get the code by email.
    “Mautic does not support PHP version 7.2.5-1+0~20180505050007.21+jessie~1.gbpca2fa6 at this time. To use Mautic, you will need to downgrade to an earlier version.”

  7. Hello Adam, can I follow the same procedure to change footer of my blog footer? Thanks

  8. it worked perfectly but I had the same issue you had it the current year it’s 2018 now but the footer shows 2017. I can do it manually but would love to learn to set it so it changes every year. Did you find a fix or can you point me to where I might learn it?

  9. Thanks I’ve changed the Storefront copyright.
    Now, I would like to use a custom text.
    Which line of code should i add?
    Thanks for all the help you can give me.
    Maurizio

    1. You can simply add the text formatted with the HTML to get it to look the way you want it to.

  10. Hi Adam,

    Thank you so much for your help sharing the code.

    The code works!

    Thanks again.

  11. Worked for me, thanks Adam! I did noticed that there was a “.” at the end of the code for my storefront and wasn’t working at first. I removed it and it worked. Thanks again..

    1. Wow, so sorry that there was a problem, not sure how that got in there. I’ll take a look so it doesn’t happen to anyone else.

  12. Hi Adam

    I receive an error saying that it was not successful. The code is slightly different from your video. There s no ‘your website name here’ in the code. I have tried to add my website name after the copy; Is this correct?

    © <?php echo get_bloginfo……

    Thanks

    1. I would suggest you take a look at my most recent video on this, it’s a lot easier to implement on any theme.

  13. hello there where is the code please…anyone who knows where it is give me a clue i cant see it

  14. Hello, I tried using this for the Tortuga theme and all I did was change the name of the theme to tortuga in the coding. But it did not work. maybe you can help with this? I really want to put my own copyright into my wordpress website.

  15. Thanks for this helpful tutorial, actually works fine, I’ll be following you.

  16. Dear admin, please help me.you have provide the code, this code can work in my “Brilliant WP Theme”?. Please reply me as soon as possible. I have add my link in my name. Sankar.Please look my website and try to help me. Thanks in advance.

  17. i downloaded the code change the storefront to bloger on the php note but didn’t work for me. they finally responded with this message
    we can hint you that you will need to do modification in the footer.php file.

    1. Yea i’ll check it out, you are the 3rd person to let me know its not working any longer, but the odd thing is it still works for me.

  18. please help i contacted them but no response maybe its because its a free theme. pls sir. even if its a written direction on how to go about it i will be glad

  19. Hi, Thank you so much for this…I searched for hours. The only problem that I found is that the year states 2015. Weird.

    1. Yea I was having the same issue in the video, that is why I manually entered the year.

    1. Thats odd. I have sometimes notice when you copy and paste, that some hidden things get added. Either way, glad it worked out for you!!

  20. Can we move the copyright in the footer of tesseract theme.

  21. Worked fine thanks

    how or what plugin is needed like you have that asks email before downloading code – could use this as well on my site/blog
    thanks for the feedback

  22. Adam, muito obrigado pelo código eu fiquei semanas quebrando a cabeça e não achava a solução, eu sou brasileiro e noa falo inglês mais mesmo assim eu procuro videos em inglês porque vocês são os melhores e com mais variedade de assuntos. muito abrigado!!!!

      1. “Adam, muito obrigado pelo código eu fiquei semanas quebrando a cabeça e não achava a solução, eu sou brasileiro e noa falo inglês mais mesmo assim eu procuro videos em inglês porque vocês são os melhores e com mais variedade de assuntos. muito abrigado!!!!”

        Bad translation –

        Adam thank you so much for the cod. I search hardly for weeks and don´t find the solution. I’m Brasilian and i don´t speak english but i still search english videos because they are the best in content. Thank you so much!!!

        xD

  23. Man !!!!! thank you VERY much for this !!!! God bless you for the time you devote to us amateurs ! i must have been looking for how to do this for 4-5 hrs before i found you !
    thanks again and keep at it !

  24. Awesome code, thank you. I still couldn’t eliminate the real designer, but that’s okay. I’m probably doing something wrong.

    1. So you are saying you followed my instructions and your footer didn’t change? Are you using any caching plugins on your website or using CloudFlare?

  25. Hi, Adam

    Does this work with any other theme or it’s specifically for storefront theme only?

    1. This code is specific to the Storefront Theme unfortunately. Every theme is coded differently.

  26. Actually I did not download the footer code. Very sad, Don’t cheat with us Boss

    1. What are you even talking about? I hope this is lost in translation, because this is the rudest comment ever left on my website.

    1. Did you follow all my steps? This is the first time someone has said it didn’t work.

      1. Hello adam, am Nick and i didn’t get the custom code.Can you direct us where it is?

Stay Up To Date

Enter your name and email for the lates news, updates, and tutorials.