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

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

安装

  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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“wp-scroll-up”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

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