Skip to content

Instantly share code, notes, and snippets.

@deeman
Last active August 21, 2019 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deeman/6169380459defa4ece011226e48be610 to your computer and use it in GitHub Desktop.
Save deeman/6169380459defa4ece011226e48be610 to your computer and use it in GitHub Desktop.
Genesis Framework: Remove or Change Footer Credentials
<?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] &middot; <a href="http://mydomain.com">My Custom Link</a> &middot; 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