Not sure if it's just me or not, but I have noticed that shortcode added in the footer via genesis_footer_creds_text filter does not work. Clicking on the "Return to top of page" footer link does not lead anywhere. My guess (being new to Genesis) is that with the release of Genesis v2.0, there have been structural changes and this shortcode has not been updated yet as it's still looking for a #wrap that does not exist.
Anyway, let's fix and in fact enhance this by making the scrolling to top action smooth using the method in this post. Another minor visual benefit is that after the go to top link is clicked, the URL of the page remains the same.
Create a file named say, sitewide.js having the following and upload it to child theme's
js (create, if not existing) directory:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.