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

InstantClick

外掛說明

InstantClick dramatically speeds up your website, making navigation effectively instant in most cases. This plugin is the easiest way of adding InstantClick to your WordPress theme.

Before visitors click on a link, they hover over that link. Between these two events, 200 ms to 300 ms usually pass by (test yourself here). InstantClick makes use of that time to preload the page, so that the page is already there when you click.

See InstantClick.io for more information on InstantClick.

This plugin simply adds InstantClick to your website using the WordPress scripts API. Some customization may be required.

螢幕擷圖

  • The InstantClick settings page

安裝方式

Install and activate the plugin. InstantClick should be automatically added to your website.

Fine Tuning

In WP-Admin you will find a new options page called ‘InstantClick’ under ‘Settings’. On the options page you can:

  • Set the preload mode (on hover with a 0, 50 or 100ms delay, or on mousedown)
  • Exclude scripts from reloading with InstantClick (adding data-no-instant)
  • Add custom JavaScript to be loaded before or after InstantClick has initialized

See the documentation on InstantClick.io for details on how the script works and how to ensure compatibility with other scripts. To add the data-no-instant attribute to scripts, use the ‘No-Instant Scripts’ setting on the options page.

To add any custom JavaScript around the InstantClick initialization, use the script editor on the admin page.

常見問題集

None yet. Checkout the support forum, the GitHub repo and InstantClick website for the answers to most questions.

使用者評論

2021 年 2 月 9 日
The plugin allowed to make my site a kind of PWA. I would say that it is highly recommended for anyone looking to make their current WordPress installation a website that behaves like an application – together with other plugins, navigation can get 100% better.
閱讀全部 6 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.3

  • Update author information
  • Compatibility tested to WP 6.1.1

1.0.2

  • PHP 5.2 compatibility

1.0.1

  • Fix warning in script handle sanitation

1.0

  • Initial release to WP.org plugin repository.