Last active
August 21, 2019 08:06
-
-
Save deeman/6169380459defa4ece011226e48be610 to your computer and use it in GitHub Desktop.
Genesis Framework: Remove or Change Footer Credentials
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Change the footer text | |
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = '[footer_copyright] · <a href="http://mydomain.com">My Custom Link</a> · Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; | |
return $creds; | |
} | |
// OR | |
// *Remove the footer text | |
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); | |
function sp_footer_creds_filter( $creds ) { | |
$creds = ''; | |
return $creds; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment