Skip to content

Instantly share code, notes, and snippets.

@nhatdongnguyen
Created November 25, 2016 14:28
Show Gist options
  • Save nhatdongnguyen/30106742266a5a629e974fd146b9898b to your computer and use it in GitHub Desktop.
Save nhatdongnguyen/30106742266a5a629e974fd146b9898b to your computer and use it in GitHub Desktop.
<?php
/** Do not include <?php on editing */
// Change the footer text
add_filter( 'genesis_footer_creds_text', 'sp_footer_creds_filter' );
function sp_footer_creds_filter( $creds ) {
$creds = 'Copyright [footer_copyright] <a href="'.get_bloginfo( 'url' ).'">'.get_bloginfo( 'name' ).'</a>';
return $creds;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment