开发者 | ericakfranz |
---|---|
更新时间 | 2022年8月14日 07:32 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 6.0.1 |
版权: | MIT |
版权网址: | 版权信息 |
Elevator uses the wp_footer(); tag to hook into. If your theme doesn't include this tag somewhere (it's most commonly found in the footer.php template file, just before the closing tag), then Elevator can't work it's magic. Check your theme first if Elevator's 'Back to Top' button isn't appearing on the page after you've activated the plugin.
Some browsers now mute all sounds by default. You may need to adjust your browser's settings to allow the audio to play, or take another action on the page first before using the Back to Top link. As of 2020, this will most often affect visitors using Firefox (all platforms) and Chrome (Android being most common). You should still expect the scroll to top functionality to work even in the absence of sound. I'm working on a solution to this issue in a future update.
If your 'Back to Top' button is loading, but the Elevator seems to be broken and stuck in the basement, check for JavaScript errors in your browser's console. You can use Google Chrome's Dev Tools for this. If you're unfamiliar with checking for JavaScript errors in your browser, I suggest you check out Julie Pagano's JavaScript Debugging for Beginners article. If your site is generating a JavaScript error, it's possible for it to conflict with Elevator and I suggest you resolve the JavaScript error before proceeding with any other troubleshooting.