AI助手支持GPT4.0
Very simple, highly customizable counter widget for showing difference in
非常简单,高度可定制的计数器小部件,用于显示差异
days from a specified date and time.
指定日期和时间之后的天数。
Allows HTML in title and body.
允许在标题和正文中使用HTML。
Can
可以
count up and down.
向上和向下计数。
Supports multiple instances.
支持多个实例。 p>
Originally developed as a baby age counter, but can be used for any counting
最初是作为婴儿年龄计数器开发的,但可用于任何计数
job.
工作。 p>
The options in the widget are:
小部件中的选项为: p>
Title is the widget’s title.
标题 em>是窗口小部件的标题。It can contain HTML;它可以包含HTML;its value is simply embedded into the resulting HTML page.它的值只是嵌入到生成的HTML页面中。 p>
It can contain HTML;
它可以包含HTML;
its value is simply embedded into the resulting HTML page.
它的值只是嵌入到生成的HTML页面中。 p>
li>
Content is the widget content field.
Content em>是窗口小部件内容字段。It uses the DateInterval::format它使用 DateInterval :: format function to format the field contents.函数格式化字段内容。You can use any field specifiers from您可以使用中的任何字段说明符that function.该功能。Its contents are also embedded into the resulting HTML page,其内容也嵌入到生成的HTML页面中,so over the %-tags, you are free to use any HTML you want.因此,在%标签上,您可以自由使用所需的任何HTML。 p>
It uses the DateInterval::format
它使用 DateInterval :: format
function to format the field contents.
函数格式化字段内容。
You can use any field specifiers from
您可以使用中的任何字段说明符
that function.
该功能。
Its contents are also embedded into the resulting HTML page,
其内容也嵌入到生成的HTML页面中,
so over the %-tags, you are free to use any HTML you want.
因此,在%标签上,您可以自由使用所需的任何HTML。 p>
Date specifies the date we should count difference from.
日期 em>指定我们应从中算出差异的日期。Since this从此plugin simply calculates the difference between ‘now’ and the specified date插件仅计算“现在”与指定日期之间的差额(in 24-hour days), it can be used for counting down, for dates in the(在24小时内),它可以用于倒计时,用于中的日期future, or counting up, for dates in the past.过去的日期的未来或递增计数。 p>
Since this
从此
plugin simply calculates the difference between ‘now’ and the specified date
插件仅计算“现在”与指定日期之间的差额
(in 24-hour days), it can be used for counting down, for dates in the
(在24小时内),它可以用于倒计时,用于中的日期
future, or counting up, for dates in the past.
过去的日期的未来或递增计数。 p>
ul>
You can have multiple instances of this widget, of course.
您当然可以拥有此小部件的多个实例。 p>
For an example usage, see the screenshots section.
有关用法示例,请参见屏幕截图部分。 p>
The plugin consists of a single .php file, so it’s very easy:
该插件包含一个.php文件,因此非常简单: p>
count_all.php
/wp-content/plugins/
count_all.php code>上载到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Start using it on the ‘Widgets’ submenu of ‘Appearance’在“外观”的“小部件”子菜单上开始使用它 li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Start using it on the ‘Widgets’ submenu of ‘Appearance’在“外观”的“小部件”子菜单上开始使用它 li>
ol>
原文出处:http://www.sanshu.cn/a/8848.html
群主管理都是支付大佬