Forked from jamiemarsland/gist:5e618baeda2dd5199d4a
Last active
August 29, 2015 14:27
-
-
Save mauriciogofas/044472308947b7e18c0d to your computer and use it in GitHub Desktop.
Remove WooThemes credit in Storefront footer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"> | |
© <?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