Title: Count All
Author: horvath.agoston
Published: <strong>2010 年 6 月 23 日</strong>
Last modified: 2021 年 3 月 9 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/count-all.svg)

# Count All

 作者：[horvath.agoston](https://profiles.wordpress.org/horvathagoston/)

[下载](https://downloads.wordpress.org/plugin/count-all.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/count-all/#description)
 * [评价](https://cn.wordpress.org/plugins/count-all/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/count-all/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/count-all/#developers)

 [支持](https://wordpress.org/support/plugin/count-all/)

## 描述

Very simple, highly customizable counter widget for showing difference in
 days 
from a specified date and time. Allows HTML in title and body. Can count up and 
down. Supports multiple instances.

Originally developed as a baby age counter, but can be used for any counting
 job.

The options in the widget are:

 * _Title_ is the widget’s title. It can contain HTML; its value is simply embedded
   into the resulting HTML page.
 * _Content_ is the widget content field. It uses the [DateInterval::format](http://www.php.net/manual/en/dateinterval.format.php)
   
   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, so
   over the %-tags, you are free to use any HTML you want.
 * _Date_ specifies the date we should count difference from. 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 future, or counting
   up, for dates in the past.

You can have multiple instances of this widget, of course.

For an example usage, see the screenshots section.

## 屏幕截图

 * [[
 * Widget configuration (observe multiple instances)
 * [[
 * This is how it looks in browser

## 安装

The plugin consists of a single .php file, so it’s very easy:

 1. Upload `count_all.php` to the `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件
 3. Start using it on the ‘Widgets’ submenu of ‘Appearance’

## 评价

此插件暂无评价。

## 贡献者及开发者

「Count All」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ horvath.agoston ](https://profiles.wordpress.org/horvathagoston/)

[帮助将「Count All」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/count-all)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/count-all/)，查看[SVN仓库](https://plugins.svn.wordpress.org/count-all/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/count-all/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/count-all/)。

## 更新日志

#### 0.3

 * Updated to PHP7

#### 0.2

 * Removed ‘div’ tag around content, allowing for more flexibility.

#### 0.1

 * Initial release

## 额外信息

 *  版本 **0.3**
 *  最后更新：**5 年前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **5.6.17**
 *  语言
 * [English (US)](https://wordpress.org/plugins/count-all/)
 * 标签
 * [age](https://cn.wordpress.org/plugins/tags/age/)[baby](https://cn.wordpress.org/plugins/tags/baby/)
   [count](https://cn.wordpress.org/plugins/tags/count/)[Counter](https://cn.wordpress.org/plugins/tags/counter/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)
 *  [高级视图](https://cn.wordpress.org/plugins/count-all/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/count-all/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/count-all/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/count-all/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/count-all/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/count-all/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/count-all/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/count-all/reviews/)

## 贡献者

 *   [ horvath.agoston ](https://profiles.wordpress.org/horvathagoston/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/count-all/)