Where I'm 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
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