Genesis Tutorials

Tips, Tricks, and How-tos for the Genesis Theme Framework

  • The Genesis Developer’s HandbookVisual Hook Guide
  • code, settings & options oh my!Resources
    • Collection Of CodeSnippets
    • Under ConstructionGenesis Functions
    • Coming Soon…Utilizing Genesis SEO Options
  • Extend GenesisPlug-ins
    • Genesis Post Teasers
    • Genesis Favicon Uploader
  • Genesis Child ThemesThemes
  • What is genesistutorials.com?About
    • Genesis Tutorials Roadmap
You are here: Home / Uncategorized / How to Filter the Genesis “Return to Top of Page”

Uncategorized

How to Filter the Genesis “Return to Top of Page”

August 6, 2010 by Christopher

Facebook0
Google+0
Twitter0

“Back to top” links, though minor, are a great added feature to your site for anyone browsing. With a click, the visitor is returned to the top of the page, saving the need to use the scroll bar or mouse wheel (Your users will thank you for this on long posts). With Genesis, the default text for this link is “Return to Top of Page” which is fine, but Genesis is all about the ability to customize and truly make it your site. To change the text for the “back to top” link, we have this simple filter. Just drop the code below into functions.php and you are done.


add_filter('genesis_footer_backtotop_text', 'custom_footer_backtotop_text');
function custom_footer_backtotop_text($backtotop) {
    $backtotop = '[[footer_backtotop text="Top"]]';
    return $backtotop;
}

This example will change the text to just simply say “Top” to have it say what you want change Top in text="Top".

About Christopher

Dabbler of anything web/tech/design/music. Independent web designer & developer.

Follow me on twitter @tweetsfromchris

Trackbacks

  1. Genesis Footer — Genesis Tutorials says:
    August 6, 2010 at 3:56 am

    […] Changing “Return to Top of the Page” text in the footer. Giving Credit Where Credit Is Due […]

Genesis Framework for WordPress

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Genesis Guide for Absolute Beginners

Click to download the Genesis Guide for Absolute Beginners

Follow me on Twitter

Follow @tweetsfromchris

Recent tutorials

Genesis 3.0.0 Removed Deprecated Functions

How to Add a Logo to the Header

Say Hello to the Genesis Visual Hook Guide v2.5

Genesis Tutorials • Built on the Genesis Theme Framework

Genesis Tutorials is not affiliated with StudioPress, and is maintained and operated by Christopher Cochran.