Created
November 18, 2015 01:44
-
-
Save reasonstousegenesis/35ab8f995142d2b18a5a to your computer and use it in GitHub Desktop.
Change the text of the back to top link with Genesis
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 | |
// 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