[WordPress] 外掛分享: Honkify

首頁外掛目錄 › Honkify
全新外掛
安裝啟用
尚無評分
2349 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.1+ v1.0.0 上架:2019-10-10

內容簡介

這個外掛使用這個程式庫:https://honkify.netlify.com

Honkify 做了什麼?

當您按下「Y」鍵啟用時,網站上的所有連結和按鈕將停止工作,改為觸發「卡拉OK咚咚聲!」。

此外掛程式碼並未經過編譯,也未在除了最新版本的 Chrome 和 Firefox 以外的任何瀏覽器上進行測試,因為這只是一個愚蠢的玩笑,所以咚咚咚!

選項

Honkify 支援 3 種選項以增加一些靈活性。

1)get_option('goose_active',true) 額外的切換開關,可以動態切換 honk,想想看有些頁面您百分之百不想 honk,但其他頁面您想 honk。
2)get_option('goose_hotkey','y') 設置您的自定義熱鍵,以啟用 honk!
3)get_option('goose_loose','lock') 確定默認值,判斷雁是否為鎖定或解鎖狀態。

從 WordPress 中安裝 Honkify

1)在您的儀表板內訪問外掛頁面,然後選擇「新增外掛」;
2)搜尋「Honkify」
3)從外掛頁面啟用 Honkify

手動安裝 Honkify

1)將 honkify 資料夾上傳到 wp-content/plugins/ 目錄中
2)從外掛頁面啟用 Honkify

使用 composer 安裝 Honkify

1)在命令行中輸入 composer require wpackagist-plugin/honkify
2)從外掛頁面啟用 Honkify

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Honkify」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin use the library: https://honkify.netlify.com
What does Honkify do?
When activated by pressing the key “Y”, all links and buttons on the site will stop working, instead triggering a “honk!” sound effect.
This is not transpiled and not tested on any browsers except Chrome latest and Firefox lasted, because this is a silly joke and therefore honk honk honk!
Options
Honkify support 3 options to be a little flexible.
1) get_option( 'goose_active', true ) An extra toggle to dynamic toggle the honk, think for pages that 100% you don’t want the honk but others you do.
2) get_option( 'goose_hotkey', 'y' ) Setup your custom hotkey to enable the honk!
3) get_option( 'goose_loose', 'lock' ) Default value to determine whether the goose is lock or loose by default.
Install honkify from within WordPress
1) Visit the plugins page within your dashboard and select ‘Add New’;
2) Search for ‘Honkify’
3) Activate Honkify from the Plugins page
Install honkify manually
1) Upload the honkify folder into the wp-content/plugins/ directory
2) Activate Honkify from the Plugins page
Install honkify with composer
1) Run in your command line composer require wpackagist-plugin/honkify
2) Activate Honkify from the Plugins page

延伸相關外掛

文章
Filter
Mastodon