Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iMaz1n/d0986f4b5e98f65c8d3babd7bfdfc92d to your computer and use it in GitHub Desktop.
Save iMaz1n/d0986f4b5e98f65c8d3babd7bfdfc92d to your computer and use it in GitHub Desktop.
Remove WooThemes credit in Storefront 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment