WordPress 6.3+ v5.11.0 上架:2013-03-30
內容簡介
此外掛會新增一些 meta-data 到文章中,將其轉換為完整的日曆活動。每個活動可以匯出至 ical(.ics)、outlook(vcs)、或 Google 行事曆。地理位置功能依賴於 OpenStreetMap。此外,此掛件也可以顯示天氣資訊,但不包括天文資訊。你可以在 Twitter 上追蹤 @wpeventpost 網站以獲得最新消息。可於 event-post.com 參閱範例。
此外掛會新增以下文章 meta:
日期屬性:
- 開始日期
- 結束日期
- 顏色
- 活動狀態
- 活動出席方式
地點屬性:
- 地址
- GPS 座標
- 虛擬地點
此外掛同時符合 WooCommerce 規範,你可以在 WooCommerce 商品頁上啟用活動功能,活動將會顯示在商品頁上,並且在活動列表、日曆、地圖和時間軸中顯示商品價格,這樣,你就可以輕鬆地賣票了,無需任何其他外掛。此掛件也提供天氣資訊屬性,可依照特定地點以及日期來取得天氣預報。你可以在網站上使用多個 blocks 和 shortcode 來列出、顯示、以及詳情介紹活動。完整的使用指南請參閱此掛件的官方文件。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Adds some meta-data to posts to convert them into full calendar events.
Each event can be exported into ical(.ics), outlook(vcs), or Google Calendar.
Geolocation works thanks to openstreetmap.
It can also fetch the weather, but doesn’t bring the sun 🙂
Follow @wpeventpost on Twitter for latest news.
Examples on event-post.com
Post metas
Date attributes
Begin Date
End Date
Color
Event Status
Event Attendance Mode
Location attributes
Address
GPS coordinates
Event Virtual Location
WooCommerce compliant
You can enable event features on Woocommerce products. The event will be displayed on the product page. Moreover, the product price will be displayed in event list, calendar, map and timeline.
This, way, you can sell tickets for your events, effortlessly and without any additional plugin.
Weather attribute (for a given location and date if possible)
Weather
Temperature
Weather
Usage
Plugins/themes developpers documentation
Blocks & Shortcodes
The plugin comes with several blocks/shortcodes which allows to:
[events_list]: display a list of events
[events_map]: display a map of events
[events_cal]: display a calendar of events
[event_details]: display a detail of the current event
[event_term]: display the date range of a given term based on all events it contains
[events_list]
Query parameters
nb=5 (number of post, -1 is all, default: 5)
future=1 (boolean, retrieve, or not, events in the future, default = 1)
past=0 (boolean, retrieve, or not, events in the past, default = 0)
cat=” (string, select posts only from the selected category, default=null, for all categories)
tag=” (string, select posts only from the selected tag, default=null, for all tags)
tax_name=” (string, custom taxonomy name)
tax_term=” (string, the term for above taxonomy)
geo=0 (boolean, retreives or not, only events which have geolocation informations, default=0)
order=”ASC” (string (can be “ASC” or “DESC”)
orderby=”meta_value” (string (if set to “meta_value” events are sorted by event date, possible values are native posts fields : “post_title”,”post_date” etc…)
Display parameters
thumbnail=” (Bool, default:false, used to display posts thumbnails)
thumbnail_size=” (String, default:”thmbnail”, can be set to any existing size : “medium”,”large”,”full” etc…)
excerpt=” (Bool, default:false, used to display posts excerpts)
style=” (String, add some inline CSS to the list wrapper)
type=”div” (string, possible values are : div, ul, ol default=div)
title=” (string, hidden if no events is found)
before_title='
’ (string (default )
after_title='
’ (string (default
)
container_schema=” (string html schema to display list)
item_schema=” (string html schema to display item)
example:
[events_list future=1 past=1 cat="actuality" nb=10]
container_schema default value:
<%type% class=”event_loop %id% %class%” id=”%listid%” style=”%style%” %attributes%>
%list%
%type%>
item_schema default value:
<%child% class=”event_item %class%” data-color=”%color%”>
%event_thumbnail%
%event_title%
%event_date%
%event_cat%
%event_location%
%event_excerpt%
%child%>
[events_map]
nb=5 (number of post, -1 is all, default: 5)
future=1 (boolean, retreive, or not, events in the future, default = 1)
past=0 (boolean, retreive, or not, events in the past, default = 0)
cat=” (string, select posts only from the selected category, default=null, for all categories)
tag=” (string, select posts only from the selected tag, default=null, for all tags)
tax_name=” (string, custom taxonomy name)
tax_term=” (string, the term for above taxonomy)
tile=” (string (
[email protected], OpenCycleMap, mapquest, osmfr, 2u, satelite, toner), sets the map background,
[email protected])
title=” (string (default)
zoom=” (number or empty (default, means fit to points)
before_title='
’; (string (default )
after_title='
’ *(string (default
)**
thumbnail=” * (Bool, default:false, used to display posts thumbnails)*
excerpt=” (Bool, default:false, used to display posts excerpts)
list=” (String (“false”, “above”, “below”, “right”, “left”) default: “false”, Display a list of posts)
example:
[events_map future=1 past=1 cat="actuality" nb="-1"]
[events_cal]
cat=” (string, select posts only from the selected category, default=null, for all categories)
date=” (string, date for a month. Absolutly : 2013-9 or relatively : -1 month, default is empty, current month
datepicker=1 (boolean, displays or not a date picker)
mondayfirst=0 (boolean, weeks start on monday, default is 0 (sunday)
display_title=0 (boolean, displays or not events title under the day number)
tax_name=” (string, custom taxonomy name)
tax_term=” (string, the term for above taxonomy)
example:
[events_cal cat="actuality" date="-2 months" mondayfirst=1 display_title=1]
[event_details]
attribute string (date, start, end, address, location). The default value is NULL and displays the full event bar
[event_details attribute=”address”]
Hooks
Filters
eventpost_add_custom_box_position
event_post_class_calendar_link
eventpost_columns_head
eventpost_contentbar
eventpost_default_list_shema
eventpost_get
eventpost_get_items
eventpost_get_post_types
eventpost_get_single
eventpost_getsettings
eventpost_item_scheme_entities
eventpost_item_scheme_values
eventpost_list_shema
eventpost_listevents
eventpost_maps
eventpost_multisite_get
eventpost_multisite_blogids
eventpost_params
eventpost_printdate
eventpost_printlocation
eventpost_bulk_edit_fields
eventpost_quick_edit_fields
eventpost_retreive
event-post-rich-result
eventpost_shortcode_slug
Actions
evenpost_init
eventpost_add_custom_box
eventpost_custom_box_date
eventpost_custom_box_loc
after_eventpost_generator
eventpost_getsettings
eventpost_settings_form
eventpost_after_settings_form
延伸相關外掛