• Skip to main content
  • Skip to primary sidebar

WordPress, Genesis Framework and Storefront customization tutorials

  • Archive
    • Genesis
    • WooCommerce
    • WordPress
  • Premium
  • Blog
  • About
    • Tools I Use
  • Contact
  • Login
Home » hooks

hooks

Change Storefront footer credit text

2020-01-31 by Gabor Leave a Comment

Remove “Built with Storefront & WooCommerce” text

// =========================================================================
// REMOVE STOREFRONT FOOTER CREDIT TEXT
// =========================================================================
function remove_sf_actions() {
    remove_action( 'storefront_footer', 'storefront_credit', 20);
}
add_action( 'init', 'remove_sf_actions' );

Create a footer.php file in your child theme and include it in to the storefront_footer hook

// =========================================================================
// CUSTOM FOOTER STOREFRONT 
// =========================================================================
function storefront_custom_footer() {
    include('inc/footer.php');
}
add_action( 'storefront_footer', 'storefront_custom_footer' );

Filed Under: WooCommerce Tagged With: footer, hooks

Primary Sidebar

  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
WP Rocket - WordPress Caching Plugin
UpdraftPlus Premium

Disclosure: Some of the links in this site are affiliate links. I will be paid a commission if you use this link to make a purchase.

  • Privacy Policy
  • Flames Design
© 2021 WP Flames - All Right Reserved