Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.