Last active
August 29, 2015 14:12
-
-
Save bradleysa/8b86fd66d0501a30bf87 to your computer and use it in GitHub Desktop.
Highwind: Replace Footer Credits
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
<?php | |
// replace Footer Credits with a quote | |
function removeHighwindCredit() { | |
remove_action( 'highwind_footer', 'highwind_credit', 20 ); | |
add_action( 'highwind_footer', 'my_footer_content' ); | |
} | |
//add custom credits/text to the footer | |
function my_footer_content() { | |
echo '"The movement is contagious." — Yuri Kochiyama'; | |
} | |
add_action('after_setup_theme','removeHighwindCredit'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment