该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Scroll Back To Top

描述

Scroll Back to Top is a WordPress plugin to add a button that appears only when users scroll down the page allowing them to scroll to the top of the page. The plugin comes pre-configured and is fully functional on activation. The plugin offers a number of webmaster-friendly features to completely customize the look, position, and animation. In addition, there is a setting to allow you to put the button in preview mode so it only appears when logged in, which is great for configuration, then fully enable it for everyone to see! This button is built on jQuery and is designed to be dead easy, without the need to modify any markup or the theme.

Usage

This was built for anyone to use, with no knowledge of HTML or CSS required!

  • Install the plugin through the Plugins interface or by uploading the scroll-back-to-top directory to your /wp-content/plugins/ directory.
  • Activate the Scroll Back to Top plugin.
  • You’re done, the scroll back to top button should appear on all pages after you scroll down a little bit. If you’d like to customize the design you may continue.

Optional Customization Steps

  • A new setting page will be located within Settings > Scroll Back to Top, navigate to that page to for customization options.
  • Change enabled status, size, color, opacity, location, icon/text, or fades.

More Support

More support can be found at our plugin support page.

This plugin is developed by Joe Sexton

Localization

Available in English

Want to contribute with a translation to your language? Please contact me at joe@josephmsexton.com

屏幕截图

  • This plugin offers a number of configuration options to easliy customize the look and feel of the scroll up button.
  • This is the default button that comes pre-configured with the plugin.
  • It is possible to add custom text, color, and change the position of the button.
  • It’s also possible to make the button a circle.
  • Easily add icons or dock the button to the edge of the screen.

安装

  1. Install the plugin through the Plugins interface or by uploading the scroll-back-to-top directory to your /wp-content/plugins/ directory.
  2. Activate the Scroll Back to Top plugin.
  3. You’re done, the scroll back to top button should appear on all pages after you scroll down a little bit. If you’d like to customize the design you may continue.

Optional Customization Steps

  • A new setting page will be located within Settings > Scroll Back to Top, navigate to that page to for customization options.
  • Change enabled status, size, color, opacity, location, icon/text, or fades.

常见问题

Installation Instructions
  1. Install the plugin through the Plugins interface or by uploading the scroll-back-to-top directory to your /wp-content/plugins/ directory.
  2. Activate the Scroll Back to Top plugin.
  3. You’re done, the scroll back to top button should appear on all pages after you scroll down a little bit. If you’d like to customize the design you may continue.

Optional Customization Steps

  • A new setting page will be located within Settings > Scroll Back to Top, navigate to that page to for customization options.
  • Change enabled status, size, color, opacity, location, icon/text, or fades.
Does this plugin require modification to the theme?

Absolutely not. This plugin is added/configured entirely from the website’s wp-admin section.

Does this require any knowledge of HTML or CSS?

Absolutely not. This plugin can be configured with no knowledge of HTML or CSS, using a simple WordPress settings page.

Do I need to configure this plugin?

Absolutely not. This plugin is designed to work immediately upon activation, with a nicely designed scroll back to top button ready to go.

评价

2020 年 7 月 31 日
Well in principal I like this addon it is well organized it offers all the options for customization that I needed and looked nice. BUT! But it drove the CPU usage through the roof. Our initial server response time went up to 7 seconds from initially under 2 seconds. I don’t know what in detail causes this effect. It cost me some time to find out this plugin was the cause because I checked everything else first because I didn’t expect a plugin that takes care of such a relatively small detail could have such a big effect.
2020 年 6 月 17 日
I just removed this plugin on a site that was performing very slowly, about 6-12 seconds per page load in the admin area. Removing the plugin reduced the page load speed down to around 2 seconds (it’s an old site with a lot of plugins). Do not use this plugin.
2020 年 6 月 16 日
Beware! When WordPress.org warns you a plugin has not been tested with latest major release (5.4 in my case), or that it has not been maintained in over a year (five years at the time of writing), do not install it. Simply deactivating this plugin gave me a huge improvement on website performance. The CPU usage graph on my server dropped dramatically over the next few days. Before deactivating there was about 2.5 seconds to wait before each page would start to render. After deactivating the whole website was a dream to navigate. It’s astonishing that a seemingly simple plugin could cripple a website in such a way. Also, unless I’m mistake, the plugin appears to load an entire icon library for a single icon.
2018 年 12 月 10 日
If you add shortcode, it will be more perfect.
2018 年 5 月 10 日 1 回复
The site is terribly slow after enabling this plugin (0.15s with plugin disabled and 2.7s with enabled). This is caused by a very poor autoloader with recursive directory traversal making more than 5500+ misses before loading 10 required files. Moreover, it makes several substr() + preg_match() + str_replace() calls in every check. Author must pay more attention to quality of the code.
2018 年 4 月 9 日
On the latest WordPress this plugin adds about 75% to my page load time.
阅读所有56条评价

贡献者及开发者

“Scroll Back To Top” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Scroll Back To Top」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Scroll Back To Top”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.3

  • Addresses PHP error in versions of PHP prior to 5.3

1.1.2

  • Addresses PHP error in versions of PHP prior to 5.3

1.1.1

  • documentation update

1.1

  • Adds support for an optional display timeout
  • Adds min/max browser resolutions
  • Adds foreground hover color
  • Adds contextual help menu
  • Adds settings link from plugin page
  • Updated font-awesome version to v4.1.0
  • Updated options/settings to persist after deactivating/activating the plugin.

1.0

  • Initial Release