• Resolved bkws

    (@bkws)


    I am having a hard time removing the text ‘Built with Storefront & WooCommerce’ in the footer section.

    I wish to keep the copyright part. I was able to remove both using .site_info (display none). But How do I remove just the ‘Built with Storefront & WooCommerce’ text?

    • This topic was modified 6 years, 9 months ago by bkws.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • hello, i have the same problem, do you find it ?
    best regards

    Job a11n

    (@jobthomas)

    Automattic Happiness Engineer

    Hi @bkws and @dambuster0, adding this little bit of CSS will do the trick, if you do not have other links in the site info:

    .site-info a {
        display: none;
    }

    You can add the code at Customize > Additional CSS.

    The best solution would be to remove credit hook “storefront_credit” from “storefront_footer”. This can be find in footer file. Simple add the below code to your theme or child theme “functions.php”
    remove_action(storefront_footer, storefront_credit,20);

    • This reply was modified 6 years, 8 months ago by Owaisbhat. Reason: adding code tags
    • This reply was modified 6 years, 8 months ago by Owaisbhat.

    You have a better choice if you still want the credit text, but need to modifi it.

    In the file: themes>storefront>inc>storefront-template-functions.php

    Copy the line 118-142

    if ( ! function_exists( 'storefront_credit' ) ) {
    	/**
    	 * Display the theme credit
    	 *
    	 * @since  1.0.0
    	 * @return void
    	 */
    	function storefront_credit() {
    		?>
    		<div class="site-info">
    			<?php echo esc_html( apply_filters( 'storefront_copyright_text', $content = '&copy; ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?>
    			<?php if ( apply_filters( 'storefront_credit_link', true ) ) { ?>
    			<br />
    			<?php
    				if ( apply_filters( 'storefront_privacy_policy_link', true ) && function_exists( 'the_privacy_policy_link' ) ) {
    					the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
    				}
    			?>
    			<?php echo '<a href="https://woocommerce.com" target="_blank" title="' . esc_attr__( 'WooCommerce - The Best eCommerce Platform for WordPress', 'storefront' ) . '" rel="author">' . esc_html__( 'Built with Storefront & WooCommerce', 'storefront' ) . '</a>.' ?>
    			<?php } ?>
    		</div><!-- .site-info -->
    		<?php
    	}
    }
    

    Modify as you wish:

    • https://woocommerce.com
    • WooCommerce – The Best eCommerce Platform for WordPress
    • Built with Storefront & WooCommerce

    And paste it into you child themes functions.php Before the closing ?> php tag

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove ‘Built with Storefront & WooCommerce’ in footer’ is closed to new replies.