Skip to content

Instantly share code, notes, and snippets.

@DanielSantoro
Created October 3, 2016 22:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielSantoro/c372a846577c23c174f9c243e814280a to your computer and use it in GitHub Desktop.
Save DanielSantoro/c372a846577c23c174f9c243e814280a to your computer and use it in GitHub Desktop.
Remove Storefront Designed by WooThemes from Footer
<?php // Don't include this line
// Remove "Storefront Designed by WooThemes" from Footer
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">
&copy; <?php echo get_bloginfo( 'name' ) . ' ' . get_the_date( 'Y' ); ?>
</div><!-- .site-info -->
<?php
}
@rlhoward
Copy link

rlhoward commented Apr 6, 2018

Thanks much; this works perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment