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.
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.
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.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.