Title: Schedule Content
Author: Qaisar Feroz
Published: <strong>2014 年 5 月 17 日</strong>
Last modified: 2014 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/schedule-content/assets/banner-772x250.jpg?rev=916479)

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

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

# Schedule Content

 作者：[Qaisar Feroz](https://profiles.wordpress.org/qaisarferoz/)

[下载](https://downloads.wordpress.org/plugin/schedule-content.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/schedule-content/)

## 描述

If you want to change the content on your page depending on the date/time, you can
use the short codes created by this plugin on your page to schedule in advance what
content (from other existing pages) to display. The URL stays the same, but displays
other pages content.

So say you are changing your sales page depending on the date/time to remove/add
bonus offers or change price, you can create each sales offer on its own page, and
then schedule which offer/page to display using the short codes provided.

You reference the page via its slug so you could have your page “mydomain.com/sales”
show the content of /sales1 starting tomorrow, which could be replaced by /sales2
on X date/time which could then be later replaced by /sales3 on Y date/time indefinitely–
but all the while the URL shows “mydomain.com/sales.

Note, if you view page source, you will find the url of the page of the content 
you are showing.

There is also a setting for a default page just in case you mess up the date/time
settings.

It works off the time you have in your WP General Settings.

**Confirmed to work with OptimizePress 2.0 also btw.**
 This was created for a client
to show a different interview with its own audio & graphics every two days – so 
that whenever the link was clicked on it would show the current interview.

#### Shorcodes

The plugin provide two shorcodes to schedule content.

**1. show_now**

This shorcode add a page/post to the schedule.

It accepts three parameters:

**start** : Start date and time

**stop** : Stop date and time

**path** : path of the page/post to show during above times. See FAQ section for
detail of this parameter.

**2. show_now_default**

This shortcode sets a default page/post that is served when there is no page/post
schedule at the time of visit.

It is important that you put this shortcode at the end of schedule. See example 
below.

#### Example:

To schedule two pages **the-morning-star** and **the-night-star** use following 
shortcode in a page/post:

[show_now **start**=_“5/14/14 04.00”_ **stop**=_“5/14/14 15.00”_ **path** = _the-
morning-star_]

[show_now **start**=_“5/14/14 16.00”_ **stop**=_“5/15/14 04.00”_ **path** = _the-
night-star_]

[show_now_default **path** = _the-evening-star_]

The page with path **the-evening-star** will be served to visitor in case there 
is no page/post scheduled at the time of visit.

## 安装

 1. Upload folder ‘schedule-content’ to the **‘/wp-content/plugins/’** directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. See Usage section in plugin description for shortcode example.

## 常见问题

  What Timezone the plugin use?

This plugin uses the time zone setting in WP **(Setting->General)**.

  What is path parameter in the shortcode?

-> Path for a page without parent is its slug.

-> Path for a child page is something like **parent-page/child-page**.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Qaisar Feroz ](https://profiles.wordpress.org/qaisarferoz/)

[帮助将「Schedule Content」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/schedule-content)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * First Stable Version

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/schedule-content/)
 * 标签
 * [Event](https://cn.wordpress.org/plugins/tags/event/)[page](https://cn.wordpress.org/plugins/tags/page/)
   [post](https://cn.wordpress.org/plugins/tags/post/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/schedule-content/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Qaisar Feroz ](https://profiles.wordpress.org/qaisarferoz/)

## 支持

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

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