這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Elevator

外掛說明

Based on the brilliant script Elevator.js. How can you resist the familiar notes and smooth ride we’ve all come to expect on a quality elevator ride?

Just activate and enjoy!

demo – at the bottom of the page select ‘Back to Top’ link.

Customize Elevator
You can also customize the appearance of Elevator with CSS. Need help? See the Elevator Style Guide.

Elevator.js created by Tim Holman.
Audio (sourced from BenSound) is Creative Commons.
Plugin Repo Banner Image, Background (sourced from Luigi Anzivino) is Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.

安裝方式

  1. Install Elevator either through your WordPress Plugins screen or by uploading the files to your server.
  2. Activate Elevator.
  3. Enjoy the elevator ride!

常見問題集

No ‘Back to Top’ Button

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.

Audio not playing

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.

‘Back to Top’ Button Not Working

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.

使用者評論

2016 年 9 月 3 日
This plugin really looks great as it brings a new approach to the back to top feature. It gives a unique back to top user experience that your visitors will surely be delighted. However, this plugin doesn’t seems to be working pretty well on android phones. It works great on desktop but upon using an android phone, the sound ‘Ting’ seems to be missing.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Elevator〉的開發相關工作。

參與者

將〈Elevator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.5.4

  • Version bump, compatible with WordPress 6.0.1

1.0.5.3

  • Version bump, compatible with WordPress 4.8.1

1.0.5.2

  • Version bump, compatible with WordPress 4.5

1.0.5.1

  • Version bump, compatible with WordPress 4.4

1.0.5

  • Fix elevator-music.ogg audio issue at start

1.0.4

  • Replace .MP3 files with .OGG to resolve occasional issue of music not playing in Chrome and Chromium browsers.

1.0.3

  • Fix version number for dependencies

1.0.2

  • Version bump, compatible with WordPress 4.3

1.0.1

  • Remove curly quotes in FAQ

1.0.0

  • Initial Release