Last active
December 19, 2015 03:19
-
-
Save sirchrispy/5889789 to your computer and use it in GitHub Desktop.
WP: Genesis - Change Footer Information
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 ©'; | |
$myCreds .= date( 'Y' ); | |
$myCreds .= ' · <a href="http://thecookingdish.com">The Cooking Dish</a> · Built on the <a href="http://www.shareasale.com/r.cfm?b=242694&u=469466&m=28169&urllink=&afftrack=">Genesis Framework</a> · 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