• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

"Return to top of page" Missing since HTML5 Switch

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › "Return to top of page" Missing since HTML5 Switch

This topic is: resolved

Tagged: Prose theme

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 10 months ago by ksburgess.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 4, 2013 at 6:55 am #60597
    ksburgess
    Member

    I'm using Prose Theme and upon switching to HTML5, my "Return to top of page" link is missing. Maybe I have missed something in the custom files that Prose generates?

    Any direction on where to check is greatly appreciated.

    Unless I manually change the CSS, my footer text is also left-aligned rather than right-aligned. It's this way on my live and my development site.

    http://www.mamababybirthing.com/faq/
    September 4, 2013 at 7:41 am #60617
    Susan Nelson
    Participant

    Hi,

    I've never used the Prose theme - can you work with the functions.php file? I asked this same type of question the other day and Gary Jones told me this:

    "Edit the footer as you would normally - either filter it, or use something like Simple Footer plugin. The [footer_backtotop] shortcode still exists within Genesis - it's just now not used by default."

    So, I added this to my functions:

    //* Customize the return to top of page text
    add_filter( 'genesis_footer_output', 'footer_backtotop_text' );
    function footer_backtotop_text($backtotop) {
    	$backtotop = '[footer_backtotop href="#nav_menu-2" text="Back to Top"]';
    	return $backtotop;
    }
    

    Since the #wrap does not exist in Genesis 2.0, you'll need to find another id to link to. In the code above, I used this:

    href="#nav_menu-2"

    You'll need to look at your site and figure out an id that's near the top to use.

    September 5, 2013 at 1:29 pm #60911
    ksburgess
    Member

    Thanks Susan! This was really helpful and I was able to work with it to get what I wanted on my site 😀

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘"Return to top of page" Missing since HTML5 Switch’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble