跳到内容

Scheduled Content

v2.1

Danny159 · 2012年12月23日 上架

Scheduled content enables you to schedule portions of a post or page and/or set an expiery date for that content.

正在使用
50+
评分
5.0 / 5
累计下载
4,060
最近更新
2014年5月8日
6 条评价需要 WordPress 3.5+已测试到 3.9.40

贡献者

After installing and activating the plugin you can use the shortcode [schedule]. You can pass upto 4 parameters, the date and the time to show the content and the date and time the content will expired and disappear from your page or post. You have to pass at least one parameter from the scheduled or expired.

Sample –

[schedule on=’2014-12-01′ at=”10:01″ expon=’2014-12-01′ expat=”13:15″]
the content you want to hide here
[/schedule]

The 4 parameters are “on”, “at”, “expon” and “expat”.
“on” accepts a date, until that date is arrived the content will be hidden.
“at” accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)
“expon” accepts a date, the content will disappear from the page on this date.
“expat” accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)

The time is compared with your blog’s time zone settings, if you set your time zone to local time zone it would be easy for you. Go to “General” settings of your wordpress dashboard, under “Time Zone” you can set the time zone you prefer.

Shortcodes will also run inside this shortcode!!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums