Skip to content

Instantly share code, notes, and snippets.

@fernandiez
Created April 20, 2017 18:59
Show Gist options
  • Save fernandiez/472b8c1c9f08fb7e4e4533f0ceef37bd to your computer and use it in GitHub Desktop.
Save fernandiez/472b8c1c9f08fb7e4e4533f0ceef37bd to your computer and use it in GitHub Desktop.
Change Genesis Footer Credit Copyright line
// Change Genesis Footer Credit Copyright line
add_filter( 'genesis_footer_creds_text', 'wpb_footer_copyright_text' );
/**
* Change Genesis Footer Credit Copyright line
* @link http://wpbeaches.com/changing-genesis-theme-copyright-line-footer-wordpress/
*/
function wpb_footer_copyright_text () {
$copyright = '<div class="creditline"><p>Copyright &copy;' . date('Y') . ' &middot; <a href="http://www.domain.com/">Site Name</a> &middot; <a href="#">Link</a> &middot; <a href="#">Link</a> &middot; Site Description.</p></div>';
return $copyright;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment