Created
September 25, 2015 17:28
-
-
Save DustinHartzler/f7ddf97063410d2d99d9 to your computer and use it in GitHub Desktop.
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 esc_html( apply_filters( 'storefront_copyright_text', $content = '© ' . get_bloginfo( 'name' ) . ' ' . date( 'Y' ) ) ); ?> | |
<?php if ( apply_filters( 'storefront_credit_link', true ) ) { ?> | |
<br /> <?php printf( __( '%1$s powered by %2$s.', 'storefront' ), 'This sermon gallery and partner program', '<a href="http://preachnet.com" target="_blank" alt="PreachNet Sermon Gallery and Partner Program Builder" title="PreachNet Sermon Gallery and Partner Program Builder" rel="designer">PreachNet.com</a>' ); ?> | |
<?php } ?> | |
</div><!-- .site-info --> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment