Back to the Top

描述

Back to the Top will add a link that return the top of the page for your website. You can customize label, color, display and so in the options page. You don’t need to edit your theme.

Back to the Top is also a jQuery plugin. Back to the Top Project Page here. You can set easily WordPress plugin ’Back to the Top’ than jQuery plugin ones.

Features

  • Customizable options in the options page
  • Selectable the effects easing of the scroll
  • The iconic font supported, Dashicons and Font Awesome

Test Matrix

For operation compatibility between PHP version and WordPress version, see below Github Actions.

Contributing

Patches and Bug Fixes

Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.

螢幕截圖

  • options page

安裝

  1. Download and unzip files. Or install ‘Back to the Top’ plugin using the WordPress plugin installer. In that case, skip 2.
  2. Upload ‘backtothetop’ to the ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to the ‘Back to the Top’ options page through the ‘Appearance’ menu in WordPress.
  5. Have fun!

Customize Stylesheet

You can customize Stylesheet by the Custom CSS. See the following example.

a#backtothetop-fixed {
    background: #f1f1f1;
    border-radius: 10%;
    padding: 0.2em;
}
a#backtothetop-fixed:hover {
    background: #fefefe;
}

評價

There are no reviews for this plugin.

貢獻者及開發者

“Back to the Top” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Back to the Top 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.5

  • fix indent and reformat with phpcs and phpcbf
  • add composer.json for test
  • add static code analysis config

1.0.4

  • change Requires at least from 3.4 to 4.0
  • improve CI environment
  • updated: update jquery.backtothetop.js v1.1.7

1.0.3

  • fixed: fix backtothetop.admin.js
  • updated: update jquery.backtothetop.js v1.1.6

1.0.2

  • fixed: fix handle and option name
  • fixed: fix typo

1.0.1

  • fixed: refactoring by the PHP_CodeSniffer
  • updated: update jquery.backtothetop.js v1.1.5
  • added: add PHPUnit and tests

1.0.0

  • initial release