Return to Top link removed for HTML5 version?

Community Forums Forums General Discussion Return to Top link removed for HTML5 version?

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Bill Murray 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #57421

    l0rily
    Participant

    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.

    #57435

    RobG
    Participant
    Post count: 992

    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
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #57488

    Bill Murray
    Participant
    Post count: 572

    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: http://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.