• 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 link removed for HTML5 version?

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 link removed for HTML5 version?

This topic is: not resolved

Tagged: footer, return to top

  • This topic has 2 replies, 3 voices, and was last updated 9 years, 7 months ago by Bill Murray.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 19, 2013 at 3:03 pm #57421
    l0rily
    Member

    Originally I was displaying the Return to Top link in the footer of my site, however, when I upgraded to Genesis 2.0 and enabled HTML5, this like went away. I noticed in the footer.php of the new Genesis code that the original output that was generated for genesis_do_footer was using the shortcodes and is now being overridden to just output the creds for html5 pages.

    Do you intend to fix this to add this functionality back?

    I know I can add my own function to add it back but I was surprised by the change and want to make sure that this isn't just an oversight that will be fixed in the next version.

    August 19, 2013 at 4:46 pm #57435
    RobG
    Member

    As far as I know it's not someting I think we can use anymore I also had that problem with the Modern Portfolio theme.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    August 20, 2013 at 12:16 am #57488
    Bill Murray
    Member

    I doubt it is an oversight. The issue is that the old shortcode referenced an ID that doesn't exist in the HTML5 markup, and you won't find too many (if any) ID's in the SP HTML5 markup. I think there are only 4 or 5 referenced in the entire Sixteen Nine Pro theme, and most of those are for 3rd party plugins. It looks like the plan was to drop/avoid ID's in HTML5.

    Since there's no ID in the standard HTML5 markup to be the spot to go to, the shortcode doesn't work. It's still a valid shortcode - it's just that the place it links to doesn't exist. You can write some custom functions to add a new ID of #wrap to a HTML5 theme (you'd have to open and close the div), and that would make the old shortcode work.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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