Title: Display This When&#8230;
Author: WolfieZero
Published: <strong>2011 年 9 月 19 日</strong>
Last modified: 2011 年 9 月 19 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/display-this-when.svg)

# Display This When…

 作者：[WolfieZero](https://profiles.wordpress.org/wolfiezero/)

[下载](https://downloads.wordpress.org/plugin/display-this-when.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/display-this-when/#description)
 * [评价](https://cn.wordpress.org/plugins/display-this-when/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/display-this-when/#developers)

 [支持](https://wordpress.org/support/plugin/display-this-when/)

## 描述

Ever wanted to show a particular section of cotent on a certain date but don’t want
to do it to the whole post or page? “Display This When…” will allow you to block
of a section of your content to only show on a set date.

Say if you want enter in an April Fools Day joke into your post, all you need do
is this:

[displaythis when=”01-04″ format=”d-m”]Chinchillas know how to use dynamite![/displaythis]

And thus chinchillas will use dynamite on the 1st of April.

Default format type is “d-m-Y” (01-01-2011)

## 评价

![](https://secure.gravatar.com/avatar/c8f60b022f2970c9c21ba4f66e90159a37c9b2ebc3c956e3ae085823b40c5b18?
s=60&d=retro&r=g)

### 󠀁[Still works. Still great!](https://wordpress.org/support/topic/still-works-still-great-2/)󠁿

 [bobA1](https://profiles.wordpress.org/boba1/) 2020 年 12 月 21 日

Perfect for publishing a magazine format. I use it to set the volume and month numbers
in the header. Brilliant. And it still works with 5.6+

 [ 阅读所有0条评价 ](https://wordpress.org/support/plugin/display-this-when/reviews/)

## 贡献者及开发者

「Display This When…」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WolfieZero ](https://profiles.wordpress.org/wolfiezero/)

[帮助将「Display This When…」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/display-this-when)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Added wrong folder to SVN.

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/display-this-when/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[holidays](https://cn.wordpress.org/plugins/tags/holidays/)
   [special](https://cn.wordpress.org/plugins/tags/special/)[timed](https://cn.wordpress.org/plugins/tags/timed/)
 *  [高级视图](https://cn.wordpress.org/plugins/display-this-when/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/display-this-when/reviews/#new-post)

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

## 贡献者

 *   [ WolfieZero ](https://profiles.wordpress.org/wolfiezero/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/display-this-when/)