Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @binnoso

    Thanks for sharing the screenshot.

    how do I change the footer information tha I indicated in image of the link bellow to another kind information like, for exemple, the adreess of my site

    The address of your site shows on the address bar itself, so do you want to show the physical address of your store?

    Please use a plugin like Code Snippets to add the following snippet to your site, to achieve the desired effect.

    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">
    ©  Floricultura Campo Verde 2022
    	<?php echo nl2br ("\n"); ?>
    	<?php echo "<a href='https://www.floriculturacampoverde.com/reembolso_devolucoes/'>Política de reembolso e devoluções</a>" ?>
    	<?php echo " | 221B Baker Street, London" ?>
    </div><!– .site-info –>
    <?php
    }

    Output you will get (screenshot from my test site):

    IMAGE
    Link to image: https://snipboard.io/xyVGPt.jpg

    Please note that you will get the part “Política de reembolso e devoluções” hyperlinked as it is now.

    Also, please remember to replace Sherlock Holmes’ address with yours, before using the code. 🙂

    Thread Starter binnoso

    (@binnoso)

    Thank you very so much!

    Hi @binnoso

    You’re welcome! I’m glad you found it helpful! 🙂

    If you have a few minutes, we’d love if you could leave us a review:
    https://ww.wp.xz.cn/support/theme/storefront/reviews/

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Edit footer’ is closed to new replies.