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

scrollToTop

外掛說明

scrollToTop is a small plug-in that will help you to make a nice looking back to top button or full-height bar on your WordPress website. You don’t need any knowledge in HTML, CSS or JS: the plug-in has many settings which you can change in just one click.

Features

  • Bar and Button mode
  • Choose 1 of 15+ arrow icons (which are merged in a font)
  • Change position, size, color, opacity and other styles
  • Enable/disable/change back to top text
  • Change animation effects (none/fade/slide)
  • Enable/disable async & defer script loading
  • Mobile friendly

螢幕擷圖

  • Bar and Button mode.
  • A small demonstration of what can be done in 1 minute.
  • Settings page

安裝方式

Through Dashboard

  1. Log in to your WordPress admin panel.
  2. Go to Plugins -> Add New and type scrollToTop in the search box.
  3. Find scrollToTop and click on Install Now, after that activate the plugin.
  4. Go to Settings -> scrollToTop and customize back to top button as you want!

Installing Via FTP

  1. Download the plugin to your hardisk and unzip it.
  2. Upload the scrollToTop folder into your plugins directory.
  3. Log in to your WordPress admin panel and activate the plugin.
  4. Go to Settings -> scrollToTop and customize back to top button as you want!

常見問題集

Will scrollToTop work on any template?

The plug-in can be installed and will work on any template, however full-height bar may not fit horizontally. Do you have enough space for that?

I’m a template developer

Use ‘scrolltotop_default_settings’ filter to change default plugin settings.
You can see available settings in ‘includes/scrolltotop-functions.php’.

I have a question/I’m need support

I will help you on any question on our support forum.

使用者評論

2021 年 7 月 13 日
this is very very good, and can be use always... if it is always keep up updates. i try other 10 scroll plugin... but only this is premium ! this developer know what he doing... and this plugins must be have a priced version, if have time.
2020 年 4 月 29 日 1 則留言
Здравствуйте! Огромнейшее спасибо за плагин! Давно искал нечто подобное, как ВКонтакте. Я потратил много времени, копаясь в коде – нужно было сделать кнопку, которая прокручивает страницу вверх, а потом повторным нажатием возвращает обратно – но ничего не вышло, а тут за секунды установил Ваш плагин и получил то, что нужно. Бесконечное спасибо!
2019 年 11 月 7 日 1 則留言
best scroll to top i've come to use in years. that is including ones i tried in "premium" themes. thanks!
閱讀全部 4 則使用者評論

參與者及開發者

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

參與者

〈scrollToTop〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

1.16

  • Hotfix for 1.15

1.15

  • Wrap all js to $(document).ready(/* ... */) to make plugin work, if its scripts loaded after creating container
  • Add new options “scroll to value/element”, what can set top scroll position (it was 0 always before)

1.14

  • WordPress 5.4.x support
  • Code refactoring

1.13

  • Stop animation when user manually scroll
  • Added minified files
  • New admin page settings

1.12

  • Global fixes

1.11

  • Fixed scrollToTop bar with admin-bar height issue.

1.1

  • Added .pot file for translation in future
  • Fixed js file async loading

1.09

Optimized for faster work

  • Add inline javascript caching (via transient creation)
  • Less javascript in html
  • Optimized js file
  • Add id attribute to a container

1.08

  • New option: transform bar into button instead of hide

1.07

WordPress 5.2 support

  • Tested up to 5.2
  • Background with 0 opacity like background: rgba(255,255,255,0) to just background: transparent
  • Add some cross browser codes

1.06

WordPress 5.1 support

  • Tested up to 5.1

1.05

  • New options for CSS files & inline styles output

1.04

  • Global fixes

1.03

WordPress 4.9 support

  • Tested up to 4.9.1
  • Fix WP Color Picker plugin

1.02

Added a lot of new features

  • Bar and Button mode.
  • Advanced background.
  • Sticky width.
  • New arrow icons.
  • New animations.

1.01

  • Bug fix.

1.0

  • Initial release.