Title: wp-scroll-up
Author: Darshan Sawardekar
Published: <strong>2014 年 5 月 2 日</strong>
Last modified: 2014 年 8 月 7 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wp-scroll-up.svg)

# wp-scroll-up

 作者：[Darshan Sawardekar](https://profiles.wordpress.org/dsawardekar/)

[下载](https://downloads.wordpress.org/plugin/wp-scroll-up.0.5.1.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-scroll-up/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-scroll-up/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-scroll-up/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-scroll-up/#developers)

 [支持](https://wordpress.org/support/plugin/wp-scroll-up/)

## 描述

Adds a Scroll To Top button that allows visitors to scroll back to the
 top of the
page. You can customize the button style using predefined styles or by adding a 
custom CSS file in your Theme.

### Credits

 * Thanks to [Mark Goodyear](http://markgoodyear.com/) for [scrollUp](http://markgoodyear.com/2013/01/scrollup-jquery-plugin/).

## 安装

 1. Click Plugins > Add New in the WordPress admin panel.
 2. Search for “wp-scroll-up” and install.

### Customization

The _Style_ dropdown changes the button style displayed. These
 correspond to CSS
styles present in the plugin’s CSS directory.

When you choose the _Custom_ style, the plugin automatically adds the
 CSS file 
located at _{current\_theme}/wp-scroll-up/custom.css_.

This CSS file must contain an ID selector, _#scrollUp_ and it’s custom
 style attributes.
For instance, the bundled `image` style is provided by the CSS,

    ```
    /* Image style */
    #scrollUp {
      bottom: 20px;
      right: 20px;
      height: 38px; /* Height of image */
      width: 38px; /* Width of image */
      background: url(../img/top.png) no-repeat;
    }
    ```

Other settings that can be changed,

 * Scroll Text: The text label of the button.
 * Scroll Distance: The number of pixels that a user needs to scroll
    before they
   see the button.
 * Scroll Speed: Duration in milliseconds to scroll to top.
 * Animation: Whether the scroll button should Fade in/out

## 评价

此插件暂无评价。

## 贡献者及开发者

「wp-scroll-up」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Darshan Sawardekar ](https://profiles.wordpress.org/dsawardekar/)

[帮助将「wp-scroll-up」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-scroll-up)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-scroll-up/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-scroll-up/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-scroll-up/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-scroll-up/)。

## 更新日志

#### 0.5.1

 * Upgrades to Arrow 1.8.0

#### 0.5.0

 * Upgrades to Arrow 1.6.0.
 * Migrates options page to React.

#### 0.4.0

 * Upgrades to Arrow 0.7.0

#### 0.3.0

 * Upgrades to Arrow 0.5.1.

#### 0.2.2

 * Fixes typos.

#### 0.2.1

 * Upgrades Arrow to 0.4.1.

#### 0.2.0

 * Switched to Arrow 0.4.0.

#### 0.1.3

 * First release on wordpress.org

#### 0.1.2

 * Updates Encase-php to 0.1.3.

#### 0.1.1

 * Adds readme.

#### 0.1.0

 * Initial Release

## 额外信息

 *  版本 **0.5.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5.0 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-scroll-up/)
 * 标签
 * [back to top](https://cn.wordpress.org/plugins/tags/back-to-top/)[scroll to top](https://cn.wordpress.org/plugins/tags/scroll-to-top/)
   [scroll up](https://cn.wordpress.org/plugins/tags/scroll-up/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-scroll-up/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-scroll-up/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-scroll-up/reviews/)

## 贡献者

 *   [ Darshan Sawardekar ](https://profiles.wordpress.org/dsawardekar/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-scroll-up/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://pressing-matters.io/)