Skip to content

Instantly share code, notes, and snippets.

@studiograsshopper
Created January 2, 2012 16:04
Show Gist options
  • Save studiograsshopper/1551216 to your computer and use it in GitHub Desktop.
Save studiograsshopper/1551216 to your computer and use it in GitHub Desktop.
Genesis - Modify Back To Top text
<?php
add_filter( 'genesis_footer_backtotop_text', 'footer_backtotop_filter' );
/**
* Modify Genesis back to to text
*
* @author Ade Walker http://www.studiograsshopper.ch
*
* @param string $backtotop, default text output by Genesis
* @return string $backtotop, modified text
*/
function footer_backtotop_filter( $backtotop ) {
$backtotop = '[footer_backtotop text="Top of Page"]';
return $backtotop;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment