Created
November 16, 2017 20:41
-
-
Save warengonzaga/0d0290a782f462c4f562b6d2ee6ac410 to your computer and use it in GitHub Desktop.
Custom Store Front Copyright Message
This file contains 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"> | |
© <p>Your Company Name</p> <?php echo 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