[WordPress] 外掛分享: Do We Have Test Kits

首頁外掛目錄 › Do We Have Test Kits
全新外掛
安裝啟用
尚無評分
1546 天前
最後更新
問題解決
WordPress 4.7+ PHP 7.0+ v2.6 上架:2022-01-19

內容簡介

此外掛在儀表板上創建了一個大按鈕,讓任何已登錄的,擁有讀取權限的使用者可以更改此按鈕狀態。

按鈕的每個狀態反映您當前是否擁有免費的 COVID 檢測套件。

對於具有 manage_options 權限的管理人員,有一個頁面可以修改兩個內容方塊。

在任何頁面上,選定方塊的內容將使用 [dwhtk] 簡碼顯示。

按鈕使用 AJAX,並立即更新網站內容。

簡碼[dwhtktime]可以在頁面、文章甚至插件本身的內容方塊中使用。

**時間格式設定**
使用以下選項在簡碼中更改時間顯示格式。

[dwhtktime format=1]
已更新:2022-01-19 下午 01:02

[dwhtktime format=2]
已更新:2022年1月19日星期三 下午 01:02

[dwhtktime format=3]
已更新:2022-01-19 下午 01:02

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.6) 或搜尋安裝

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

原文外掛簡介

This plugin creates a large button on the Dashboard that lets any logged in users (with read persmission) to change a large button.
Each state of the button reflects if you currently have free COVID testing kits.
For Administrators (manage_options permissions) there is a page where they can modify two content boxes.
On any page, the content from the selected box will display using the [dwhtk] shortcode.
The button uses AJAX and immediately updates the site content.
The shortcode [dwhtktime] can be used on pages, posts, and even in the content boxes of the plugin itself.
** Time formatting **
Use the following option in the shortcode to change the display format of the time.
[dwhtktime format=1]
Updated: 2022-01-19 01:02 pm

[dwhtktime format=2]
Updated: Wednesday, 19th of January 2022, 01:02 PM

[dwhtktime format=3]
Updated: 01-19-2022, 01:02 pm

延伸相關外掛

文章
Filter
Apply Filters
Mastodon