Title: Where I&#039;m Going
Author: skustes
Published: <strong>2013 年 5 月 3 日</strong>
Last modified: 2013 年 6 月 3 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/where-im-going.svg)

# Where I’m Going

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

[下载](https://downloads.wordpress.org/plugin/where-im-going.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/where-im-going/)

## 描述

This plug-in allows you to input your travel destinations and the dates you’ll be
there, then easily output those dates to your readers. Destinations can be linked
to WordPress posts and pages to direct your readers to your content. Output is fully
customizable to show destinations and dates in any format.

### [wig] Shortcode Usage

The current Destination can be output simply by inserting [wig] where you want to
output the Destination. If you want to tailor the output to show past or future 
dates, a link to a post, the start and/or end date, etc, use the following parameters:

 * display – Accepts any one of the following values:
    - past – Shows all Destinations that you visited in the past
    - present (Default) – Shows all Destinations that you’re currently in
    - future – Shows all Destinations that you’ll be visiting in the future
    - all – Shows all Destinations
    - post – Shows all Destinations that are tied to a WordPress post or page
    - no_post – Shows all Destinations that are not tied to a WordPress post or 
      page
 * show – How many Destinations do you want to show if there are more than 1 that
   match the parameters? (Default: 1) (Set to 0 for “all”). If multiple Destinations
   are output, a line break will be placed after each.
 * display_date_start – The start of the search period in Unix time. Overrides display
   parameter
 * display_date_end – The end of the search period in Unix time. Overrides display
   parameter
 * has_post – Accepts: yes, no, all (default)
 * format – Accepts the following placeholders (any text is allowed):
    - %n% – The Destination name
    - %sd% – The Destination start date
    - %sdt% – The Destination start datetime
    - %st% – The Destination start time
    - %ed% – The Destination end date
    - %edt% – The Destination end datetime
    - %et% – The Destination end time
    - %url%…%/url% – If the Destination is tied to a post, the URL will be linked
      from any text between these. If a Destination is not tied to a post, a URL
      will not be output.
    - Examples:

#### “%url%%n%%/url%” outputs: 󠀁[Key West, FL](https://cn.wordpress.org/plugins/where-im-going/{link}?output_format=md)󠁿

“%url%%n%%/url% – %sdt% to %edt%” outputs: [Key West, FL](https://cn.wordpress.org/plugins/where-im-going/{link}?output_format=md)–
Apr 05, 2013 12:00 to Apr 15, 2013 14:00
 = “%n%: %sd% at %st% until %ed% at %et%”
outputs: Key West, FL: Apr 05, 2013 at 12:00 until Apr 15, 2013 at 14:00 * date_format–
Accepts all PHP date options: http://php.net/manual/en/function.date.php. _Default:
M d, Y (ex: Apr 05, 2013)_ * time_format – Accepts all PHP time options: http://
php.net/manual/en/function.date.php. _Default: H:i (ex: 17:36)_ * show_error – Show“
No destination(s) found” if there are no matching destinations? Accepts _0 (default)_
or 1.

### Shortcode Examples

 * [wig] Outputs the current Destination without start and end date/time
 * [wig display=”past” has_post=”yes” show=0] Outputs all past Destinations that
   are assigned to a WordPress post/page.
 * [wig display=”future” format=”%url%%n%%/url%: %sd% at %st% until %ed% at %et%”
   time_format=”h:i a” show=3] Outputs 3 future Destinations with destination name
   as a URL (if tied to a post/page), start and end date/time, and time in the format
   04:36 pm

## 安装

 1. Upload ‘where-im-going’ to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to the Where I’m Going menu and input your destinations.
 4. Use the [wig] shortcode to output your destinations in theme files, posts, and 
    pages. Full details of this shortcode are available at the bottom of this file,
    from the Where I’m Going instructions page, or here: http://www.nuttymango.com/
    tutorials/where-im-going/

## 常见问题

N/A

## 评价

此插件暂无评价。

## 贡献者及开发者

「Where I'm Going」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Where I'm Going」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/where-im-going)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

 * Fixed navigation broken by last change

#### 1.0

 * Menu clean-up
 * CSS clean-up

#### 0.5

 * Initial release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/where-im-going/)
 * 标签
 * [adventure](https://cn.wordpress.org/plugins/tags/adventure/)[destination](https://cn.wordpress.org/plugins/tags/destination/)
   [location](https://cn.wordpress.org/plugins/tags/location/)[travel](https://cn.wordpress.org/plugins/tags/travel/)
   [where](https://cn.wordpress.org/plugins/tags/where/)
 *  [高级视图](https://cn.wordpress.org/plugins/where-im-going/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/where-im-going/reviews/#new-post)

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/where-im-going/)

## 捐助

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

 [ 捐助此插件 ](http://www.nuttymango.com/donate)