Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Change the text of the back to top link with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Change the text of the back to top link with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-footer-backtotop-text/
*/
add_filter( 'genesis_footer_backtotop_text', 'rtug_back_to_top' );
function rtug_back_to_top() {
return '[footer_backtotop text="Back to Top"]';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment