
內容簡介
這是一個簡單的倒數計時短碼外掛,僅顯示文字內容,沒有使用Flash或Javascript,也沒有樣式。能夠內嵌於行內文字的倒數計時短碼使用起來非常完美。訪客須要重新整理瀏覽器才能更新倒數計時。
使用方法
在安裝完成後,只需把[cntdwn todate="9 January 2019 08:00" timeoff="0"]短碼放到您的內容中。請確保將todate參數更改為您的目標日期,將timeoff更改為todate中指定時間的GMT偏移(以小時計)。
在todate參數中可使用strtotime PHP 函數可解析的任何内容。但是為了避免混淆,最好遵循上面示例的格式。
查看常見問題集以查看可用參數的完整列表及其默認值。
外掛標籤
開發者團隊
原文外掛簡介
A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Perfect for in-line text-based countdown timer. Visitors need to refresh the browsers in order to update the countdown.
USAGE
When you’re done installing the plugin, just put a [cntdwn todate="9 January 2019 08:00" timeoff="0"] shortcode into your content. Make sure to change the todate parameter to your target date, and timeoff to the GMT offset (in hours) of the time indicated in the todate.
Anything that can be parsed by the strtotime php function can be used in the todate parameter. But in order to avoid confusion, it’s better to stick with the format as the sample above.
See the Frequently Asked Questions for the complete parameters available and their default values.
