Title: Simple upcoming
Author: Samuel Coskey
Published: <strong>2011 年 11 月 23 日</strong>
Last modified: 2012 年 7 月 19 日

---

搜索插件

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

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

# Simple upcoming

 作者：[Samuel Coskey](https://profiles.wordpress.org/sgcoskey/)

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

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

 [支持](https://wordpress.org/support/plugin/simple-upcoming/)

## 描述

This is another simple plugin to add a little functionality of a
 calendar to your
blog. With this plugin you can specify, for any of your posts, an associated “Event
Date” using a new widget in the post editor. Then, elsewhere on your site, you can
retrieve a list of future events using the `[upcoming]` shortcode on any post or
page.

The shortcode supports several options:

 * **category_name**: If defined, show posts only from these
    categories. You can
   provide multiple comma-separated category identifiers (slugs).
 * **days_old**: Show events whose Event Date is no more than this many
    days past.
   The default is `0`, which shows only events taking place today or later. If you
   enter a non-numeric value such as **infinity**, then all matching events will
   be shown regardless of the Event Date.
 * **style**: One of _list_ (default) or _post_. If it is _list_, then
    the list
   style is indented and bulleted. If it is _post_ then the title is promoted to`
   <h2 class="upcoming-entry-title">` and the list style is plain.
 * **text**: One of _none_ (default), _excerpt_, or _normal_. If it is
    _excerpt_,
   then the post excerpt is shown, similar to search results. If it is _normal_ 
   then the full post (up to the `[more]` tag) is shown.
 * **null_text**: If no results are returned, shows this text.
    Defaults to `(none)`.
 * **class_name**: If defined, adds this class name to the generated `<ul>`
    tag.
   Useful for custom styling.
 * **show_date**: If defined, the date will precede the post title
 * **date_format**: If showing the date, this php date format will be
    used. The
   default is the Date Format value from the General Settings page. I recommend `"
   F j, Y"`, which displays as “May 12, 2012”.
 * **q**: Arbitrary additional arguments to pass to the query. See the
    [WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query/#Parameters)
   page for available syntax. For example, to show only events with tag “workshop”,
   and only 3 such events, you would write `[upcoming q="posts_per_page=3&tag=workshop"].

The output can then be further formatted using CSS. We recommend the
 plugin [Improved Simpler
CSS for quickly styling your upcoming events list (and your site)!

Report bugs, give feedback, or fork this plugin on
 [GitHub](http://github.com/scoskey/Simple-upcoming-wordpress-plugin).

## 安装

Nothing unusual here!

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Samuel Coskey ](https://profiles.wordpress.org/sgcoskey/)
 *   [ Victoria Gitman ](https://profiles.wordpress.org/vgitman/)

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

### 对开发感兴趣吗?

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

## 更新日志

0.3 added shortcode parameter **days_old**.

    ```
    0.2.1 bug fix: the default event date was the start of 1970 rather
    ```

than no date at all.

    ```
    0.2 Unfortunately I have changed the way dates are stored in the
    ```

database. This means you will have to open and re-save any posts you
 have with 
the “Event Date” set. I have also changed the shortcode parameters slightly with**
style** becoming both **style** and **text**. Please have a look at the syntax. 
I apologize for the inconvenience!

big fixes: dates in different years were sorted incorrectly. the
 timezone was not
respected.

new features: added the q and text parameters

    ```
    0.1.3 bug fix: added nopaging so all relevant posts appear

    0.1.2 bug fix: sticky posts were always appearing

    0.1.1 bug fix: non-empty input to the "event date" box wasn't working
    ```

(accidentally introduced in the last bug fix)

    ```
    0.1 bug fix: empty input to the "event date" box wasn't working

    0.0 initial release
    ```

## 额外信息

 *  版本 **0.3**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-upcoming/)
 * 标签
 * [calendar](https://cn.wordpress.org/plugins/tags/calendar/)[Event](https://cn.wordpress.org/plugins/tags/event/)
   [events](https://cn.wordpress.org/plugins/tags/events/)[upcoming](https://cn.wordpress.org/plugins/tags/upcoming/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-upcoming/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Samuel Coskey ](https://profiles.wordpress.org/sgcoskey/)
 *   [ Victoria Gitman ](https://profiles.wordpress.org/vgitman/)

## 支持

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

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://boolesrings.org)