Title: Event Codes &#8211; Shortcodes that work with other event plugins
Author: WPDwarves
Published: <strong>2017 年 6 月 30 日</strong>
Last modified: 2020 年 2 月 3 日

---

搜尋外掛

![](https://ps.w.org/event-codes/assets/banner-772x250.png?rev=1688337)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/event-codes/assets/icon-256x256.png?rev=1688337)

# Event Codes – Shortcodes that work with other event plugins

 由 [WPDwarves](https://profiles.wordpress.org/ajency/) 開發

[下載](https://downloads.wordpress.org/plugin/event-codes.1.0.8.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/event-codes/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/event-codes/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/event-codes/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/event-codes/#developers)

 [技術支援](https://wordpress.org/support/plugin/event-codes/)

## 外掛說明

[EventCodes plugin](http://wpdwarves.com/event-codes-shortcodes-that-work-with-other-event-plugins)
provides a shortcode that can be used to display a list of events on home page, 
sidebar or any other part of the site.

With this plugin you can choose from a set of 4 templates for displaying list of
events. Currently the EventCodes plugin works with Event Calendar plugin by Modern
Tribe. We will be adding support for other event plugins soon.

The default code will be [event_codes] which will display the list of 5 most recent
Upcoming Events. The short code supports multiple options.

For e.g: If you want to display 3 upcoming events belonging to “music” category.

    ```
    [event_codes cat=’music’ count=’3’]
    ```

#### Shortcode Options:

 * View Type & Style (view, style)
    This is used to select the type of view and 
   style to display the event. The default view is list with basic style. [event_codes
   view= ‘list’ style= ‘basic’]
 * Different types of views:
 * 1)List
    List view has 3 styles: basic, big date and card overlay [event_codes
   view=‘list’ style=‘basic’] [event_codes view=‘list’ style=‘big-date’] [event_codes
   view=‘list’ style=‘card-overlay’]
 * 2)Tabular
    Tabular view has 2 styles: basic and shadow [event_codes view=‘tabular’
   style=‘basic’] [event_codes view=‘tabular’ style=‘shadow’] row value displays
   alternate gray shade for rows. This can be applied for both styles. [event_codes
   view=‘tabular’ style=‘shadow’ row=‘alternate-gray’]
 * Show Time (showtime)
    This is used to display the time of the event. Option used
   is showtime and can have value true/false. Default is false. [event_codes showtime
   =’true’]
 * Description (description)
    This controls whether the description of the event
   is to be shown or not. The option is description with value true/false. Default
   is true. [event_codes description=’false’]
 * Number of events (count)
    Specifies the total number of events that are to be
   shown. Default is 5. Option value is count. [event_codes count=’4’]
 * Offset (offset)
    Option offset is to skip a given number of events while listing.
   A good use case is when you want to split your event list into columns with multiple
   shortcodes. Default is 0. [event_codes offset=’3’]
 * Category (cat)
    Displays the events based on the category. Can be used to display
   events belonging to different categories separated by comma. Option is cat. [
   event_codes cat=’music,sports’]
 * Exclude Category (skip-cat)
    Skips displaying the events of a particular category.
   Option is skip-cat. [event_codes skip-cat=’music’]
 * Tags (tag)
    Filters events based on tags. For multiple tags use commas. Option
   is tag [event_codes tag=’music,sports’]
 * Past Events (past)
    This will display the list of all the past events. Option
   value is past & default is false. [event_codes past=’true’]
 * Featured Events (featured)
    This will display the list of all the featured events.
   Default is false & option is featured. [event_codes featured=’true’]
 * Show View All (show-view-all)
    This will decide if the the “View All” action 
   should be displayed or no. Default is true & option is show-view-all. [event_codes
   show-view-all=’false’]
 * Show Load More (show-load-more)
    This will decide if the the “Load More” action
   should be displayed or no. Default is true & option is show-load-more. [event_codes
   show-load-more=’false’]
 * Title (title)
    This will allow to set a heading to the events displayed. If title
   is not entered as the shortcode option, then default value for future events 
   will be “Upcoming Events” and in case of past and featured events the heading
   will be “Past Events” and “Upcoming Featured Events” respectively. [event_codes
   title =’Events this Week’]

## 螢幕擷圖

 * [[
 * Once the plugin is installed and activated, add the shortcode option to the page
   where you want to display the events.
 * [[
 * To display events in a tabular view.
 * [[
 * List of options for shortcodes can be viewed from the Event Codes page.

## 安裝方式

 * Install the “Event Codes – Shortcodes that work with other event plugins” plugin
   from the WordPress.org repository. The other way is to upload event-codes folder
   to the /wp-content/plugins directory. Please note, you must install The Event
   Calendar Plugin by Modern Tribe and add your events to the calendar.
 * Activate the plugin through the Plugins menu in WordPress
 * If The Event Calendar Plugin by Modern Tribe is not installed, you will be prompted
   to install it.

## 常見問題集

  How do I install the plugin?

 * Install the “Event Codes – Shortcodes that work with other event plugins” plugin
   from the WordPress.org repository. The other way is to upload event-codes folder
   to the /wp-content/plugins directory. Please note, you must install The Event
   Calendar Plugin by Modern Tribe and add your events to the calendar.
 * Activate the plugin through the Plugins menu in WordPress
 * If The Event Calendar Plugin by Modern Tribe is not installed, you will be prompted
   to install it.

  What are the shortcode options?

 * View Type & Style (view, style)
    This is used to select the type of view and 
   style to display the event. The default view is list with basic style. [event_codes
   view= ‘list’ style= ‘basic’]
 * Different types of views:
 * 1)List
    List view has 3 styles: basic, big date and card overlay [event_codes
   view=‘list’ style=‘basic’] [event_codes view=‘list’ style=‘big-date’] [event_codes
   view=‘list’ style=‘card-overlay’]
 * 2)Tabular
    Tabular view has 2 styles: basic and shadow [event_codes view=‘tabular’
   style=‘basic’] [event_codes view=‘tabular’ style=‘shadow’] row value displays
   alternate gray shade for rows. This can be applied for both styles. [event_codes
   view=‘tabular’ style=‘shadow’ row=‘alternate-gray’]
 * Show Time (showtime)
    This is used to display the time of the event. Option used
   is showtime and can have value true/false. Default is false. [event_codes showtime
   =’true’]
 * Description (description)
    This controls whether the description of the event
   is to be shown or not. The option is description with value true/false. Default
   is true. [event_codes description=’false’]
 * Number of events (count)
    Specifies the total number of events that are to be
   shown. Default is 5. Option value is count. [event_codes count=’4’]
 * Offset (offset)
    Option offset is to skip a given number of events while listing.
   A good use case is when you want to split your event list into columns with multiple
   shortcodes. Default is 0. [event_codes offset=’3’]
 * Category (cat)
    Displays the events based on the category. Can be used to display
   events belonging to different categories separated by comma. Option is cat. [
   event_codes cat=’music,sports’]
 * Tags (tag)
    Filters events based on tags. For multiple tags use commas. Option
   is tag [event_codes tag=’music,sports’]
 * Past Events (past)
    This will display the list of all the past events. Option
   value is past & default is false. [event_codes past=’true’]
 * Featured Events (featured)
    This will display the list of all the featured events.
   Default is false & option is featured. [event_codes featured=’true’]
 * Show View All (show-view-all)
    This will decide if the the “View All” action 
   should be displayed or no. Default is true & option is show-view-all. [event_codes
   show-view-all=’false’]
 * Show Load More (show-load-more)
    This will decide if the the “Load More” action
   should be displayed or no. Default is true & option is show-load-more. [event_codes
   show-load-more=’false’]
 * Title (title)
    This will allow to set a heading to the events displayed. If title
   is not entered as the shortcode option, then default value for future events 
   will be “Upcoming Events” and in case of past and featured events the heading
   will be “Past Events” and “Upcoming Featured Events” respectively. [event_codes
   title =’Events this Week’]

  Do you have some problems with plugin installation?

You can visit our plugin page(http://wpdwarves.com/event-codes-shortcodes-that-work-
with-other-event-plugins) and contact us.
 We are always ready to help everyone.

## 使用者評論

![](https://secure.gravatar.com/avatar/a86150cf6b8ee54299cb8c2ba20cb1edf91849121ca1c476c138a0c7d32689d3?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-21940/)󠁿

 [eoik](https://profiles.wordpress.org/eoik/) 2020 年 6 月 19 日

Though not totally ready for translation. Great support, very reactive.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/event-codes/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Event Codes – Shortcodes that work with other event plugins〉
的開發相關工作。

參與者

 *   [ WPDwarves ](https://profiles.wordpress.org/ajency/)
 *   [ wpdwarves ](https://profiles.wordpress.org/wpdwarves/)

〈Event Codes – Shortcodes that work with other event plugins〉外掛目前已有 1 個
本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/event-codes/contributors)
為這個外掛做出的貢獻。

[將〈Event Codes – Shortcodes that work with other event plugins〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/event-codes)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/event-codes/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/event-codes/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/event-codes/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/event-codes/)。

## 變更記錄

#### 1.0.8

 * Feature – added fix for address empty fields

#### 1.0.7

 * Feature – added fix for event date, time and venue

#### 1.0.6

 * Feature – fixes

#### 1.0.5

 * Feature – bug fixes

#### 1.0.4

 * Feature – added custom template support

#### 1.0.3

 * Feature – New shortcode option “skip-cat” added

#### 1.0.1

 * Feature – New shortcode option “title” added

#### 1.0.0

 * Initial Release

## 中繼資料

 *  版本 **1.0.8**
 *  最後更新 **6 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 4.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.2.24**
 *  語言
 * [English (US)](https://wordpress.org/plugins/event-codes/) 及 [Italian](https://it.wordpress.org/plugins/event-codes/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/event-codes)
 * 標籤:
 * [Event](https://tw.wordpress.org/plugins/tags/event/)[events](https://tw.wordpress.org/plugins/tags/events/)
   [shortcodes](https://tw.wordpress.org/plugins/tags/shortcodes/)
 *  [進階檢視](https://tw.wordpress.org/plugins/event-codes/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/event-codes/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/event-codes/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/event-codes/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/event-codes/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/event-codes/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/event-codes/reviews/)

## 參與者

 *   [ WPDwarves ](https://profiles.wordpress.org/ajency/)
 *   [ wpdwarves ](https://profiles.wordpress.org/wpdwarves/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/event-codes/)