Skip to content

Instantly share code, notes, and snippets.

@seothemes
Last active April 16, 2019 14:59
Show Gist options
  • Save seothemes/d7a08c0014611b20d83bb8c93ea2ce36 to your computer and use it in GitHub Desktop.
Save seothemes/d7a08c0014611b20d83bb8c93ea2ce36 to your computer and use it in GitHub Desktop.
Change Footer Credits
<?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; Theme by <a href="https://seothemes.com/" title="SEO Themes">SEO Themes</a>';
return $creds;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment