前言介紹
- 這款 WordPress 外掛「PCF Birthday Countdown」是 2015-09-10 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-10-06,距離現在已有 3497 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pcfdev |
外掛標籤
date | down | count | birthday | countdown |
內容簡介
基本指示
安裝外掛後,前往設定 > 一般 > PCF Countdown 選項,輸入倒數計時的名稱和日期。
使用縮略語 [pcf_bday_countdown] 產生倒數計時。
預設輸出的倒數計時是以天計算(例如:「105 天後,名字的生日」)。
更改輸出類型
縮略語可以加入一個「類型」屬性,如下所示:
[pcf_bday_countdown type="days|weeks|sleeps"]
這樣可以讓你更改輸出類型。
有 3 種類型供選擇:
以天為單位
以星期為單位
以睡眠時間為單位
如果您沒有指定類型屬性或指定無效類型,它將預設為「天」。
例如:
[pcf_bday_countdown type="weeks"]
輸出為
距離名字的生日還有 `x` 週和 `y` 天!
設計輸出
設計輸出是一項高級設置,需要編寫自定義 CSS。
縮略語可以加入一個「id」屬性,以便使用 CSS 設計輸出。
例如:
[pcf_bday_countdown id="my-id"]
輸出的 HTML 將會為
...
然後,您可以透過 外觀 > 編輯器 添加自定義 CSS。如果您的佈景主題支援自定義 CSS,您可以在佈景主題選項中添加您的樣式。如果在編輯器中有自定義 css 檔案,建議使用該檔案進行自定義樣式。
以下是一些自定義樣式的範例:
#my-id{
color: blue;
font-size: 16px;
text-decoration: underline;
}
這將設置輸出為藍色、帶有下劃線,並且字體大小為 16px。
原文外掛簡介
Basic Instructions
Once the plugin is installed, go to Settings > General > PCF Countdown Options to input a name and date for the countdown.
Use the shortcode [pcf_bday_countdown] to output the countdown.
The countdown will output in days by default (e.g ‘105 days until names Birthday’).
Changing output type
The shortcode can be given a ‘type’ attribute, like so:
[pcf_bday_countdown type="days|weeks|sleeps"]
This enables you to change the output type.
There are 3 types to choose from:
Days
Weeks
Sleeps
If you do not specify the type attribute, or specify an invalid type, it will default to ‘days’.
Example:
[pcf_bday_countdown type="weeks"]
will output as
It's `x` weeks and `y` days until `name`s Birthday!
Styling the output
Styling the output is an advanced setting, that involves writing custom CSS.
The shortcode can be given an ‘id’ attribute, which can then be used to style the output using CSS.
For example,
[pcf_bday_countdown id="my-id"]
would output in HTML as
...
You can then add custom CSS through Appearance > Editor. If your theme supports custom CSS, you may be able to add your styles in Theme Options. If there is a custom css file in Editor, it is advised to use that for custom styles.
Here is an example of some custom styles:
#my-id{
color: blue;
font-size: 16px;
text-decoration: underline;
}
This will set the output to be blue, underlined, and to have a font size of 16px.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「PCF Birthday Countdown」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Parsi Date 》這個外掛是由波斯語開發人員開發,旨在為波斯語 WordPress 帶來更好的使用體驗。它包括了太陽曆(Jalali)日曆、字符問題修復和 WordPress 後臺環境的從右到...。
WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
Hide/Remove Metadata 》Hide/Remove Metadata是一款免費、簡單而非常實用的WordPress外掛,能夠幫助您輕鬆地隱藏或刪除網站上的作者和發布日期。該外掛非常容易使用,僅提供隱藏或移...。
WP-Persian 》WP-Persian 是一款快速強大的 WordPress 插件,可提供 Jalali 月曆和波斯語言支援,並支援標準插件。, , 如果您喜歡這款插件,請隨時在這個頁面的右側評分!,...。
WP Date and Time Shortcode 》顯示當前、過去和未來日期或時間的簡碼。在您的文章和頁面中顯示今年、上一年、下一年、月份、日期等等。, 這可能是您網站所需的最後一個日期和時間簡碼插件...。
WP Author, Date and Meta Remover 》即時自訂或刪除您的元數據!WP 作者、日期和元數據移除 Pro+現已上市。WP ADMR Pro+ for Intelligent Meta Data Control。, WordPress 已成為許多線上企業主...。
Show/Hide Content at Set Time 》喜歡這個外掛嗎?請考慮留下評論或寫下你在網站上使用它的經驗–如果你這樣做,請給我一個連結。, 這個外掛在 GitHub 維護,歡迎使用存儲庫報告問題,提...。
Meks Time Ago 》Meks Time Ago WordPress 外掛讓您可以輕鬆將文章日期顯示改為「多久以前」的格式,例如「1小時前」、「2週前」、「5個月前」、「4天前」等,同時提供多種選...。
Bulk Post Update Date 》使用這個外掛可以一鍵更改所有文章和頁面的發布日期和更新日期,有助於您的部落格在搜尋引擎中排名並且看起來更有活力。建議每週或每個月進行一次更改。, 為...。
Bulk Datetime Change 》可批量變更文章的日期/時間。, 可變更的物件, , 文章。, 頁面。, 媒體檔案。, , 日期/時間選擇器, , 可使用 DateTimePicker,一款 jQuery 外掛,選擇日期/時...。
Persian Date 》這個外掛可在 WordPress 中使用波斯曆日期。, 功能, 目前只能將日期轉換為波斯曆!如果您已安裝 WooCommerce,在菜單「WooCommerce Persian」下安裝「WooComm...。
Seed Buddhist Year 》Seed Buddhist Year可以將輸出的年份改為佛曆或佛教紀元(BE),但不會影響使用基督教/西曆(CE)的微格式。, 只需安裝插件,即可覆蓋以下功能:, , get_the_...。
Post Date Time Change 》, 批次更改每篇文章、頁面或媒體庫的日期和時間。, 與 DateTimePicker 一起運作。這是一個 jQuery 外掛,可以選擇日期和時間。, 。
Limit Modified Date 》警告:此外掛已不再受支援,可能無法與古騰堡區塊編輯器兼容。, 我建議改用 Change Last Modified Date 外掛。, 概要, 當對內容進行輕微更改時,避免修改日期...。
InstallActivateGo Copyright Current Date Shortcodes 》重要提示:支援已轉移至 ZATZLabs 網站,不再在 WordPress.org 論壇提供。如果您需要開發人員的即時回覆,請提交工單。, 如果您需要顯示當前年份並使其保持最...。