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

Scroll To CK

外掛說明

Scroll To CK allows you to scroll your page with you links and add a go to top button on scroll.

Features

Add the CSS class ‘scrollTo’ to your menu item, or any link in your page to scroll to the desired html ID.

  • Scroll to any element in the page (using its ID)
  • Works on any link, even in any menu
  • Easy to use, just add a css class to the link
  • Option to activate the Go To Top button
  • Custom options for each link (duration and offset)
  • Option to hide the Go To Top button under a custom resolution value

How to use it

The only thing you have to do is to add the CSS class on your links. You can do it in a menu item with the optional field “CSS class”, or use a link anywhere in your page by adding it the class. Example of a link source code :

<a href=”#idoftheelement” class=”scrollTo” />Go to Section 1</a>

Get more informations and see the demo on https://www.ceikay.com

安裝方式

  1. Unzip the package scroll-to-ck.zip
  2. Upload the folder scroll-to-ck to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.1.2

  • Add option to hide the Go To Top button on mobile with a custom resolution value
  • Add data-speed and data-offset attribute options on each link to set custom settings per link

1.1.1

  • Add z-index to avoid the button to be hidden

1.1.0

  • Refactor the code to be used with CeiKay.com

1.0.2

  • Use better method to load inline script
  • Load CSS code in the footer for better SEO / performance

1.0.1

  • Fix PHP warning

1.0.0

  • First issue