Skip to content

Instantly share code, notes, and snippets.

@sirchrispy
Last active December 19, 2015 03:19
Show Gist options
  • Save sirchrispy/5889789 to your computer and use it in GitHub Desktop.
Save sirchrispy/5889789 to your computer and use it in GitHub Desktop.
WP: Genesis - Change Footer Information
<?php
/** Change information in footer */
remove_action('genesis_footer', 'genesis_do_footer');
add_action('genesis_footer', 'seasoning2013_custom_footer');
function seasoning2013_custom_footer() {
$goTop = '<div class="gototop"><a rel="nofollow" href="#wrap">Return to Top of Page</a></div>';
$myCreds = '<div class="creds">Copyright &copy;';
$myCreds .= date( 'Y' );
$myCreds .= ' &middot; <a href="http://thecookingdish.com">The Cooking Dish</a> &middot; Built on the <a href="http://www.shareasale.com/r.cfm?b=242694&u=469466&m=28169&urllink=&afftrack=">Genesis Framework</a> &middot; Inspired by <a href="http://www.shareasale.com/r.cfm?b=457657&u=469466&m=28169&urllink=&afftrack=">Modern Portfolio</a></div>';
echo $goTop . $myCreds;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment