[WordPress] 外掛分享: Display Event Location for The Events Calendar

首頁外掛目錄 › Display Event Location for The Events Calendar
WordPress 外掛 Display Event Location for The Events Calendar 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
115 天前
最後更新
問題解決
WordPress 5.0.0+ PHP 7.0.0+ v4.6.0 上架:2019-04-28

內容簡介

這個外掛會覆蓋 The Events Calendar 或 The Events Calendar Pro 外掛建立的完整月曆檢視時,滑鼠停留在活動上時顯示的工具提示的範本。顯示與活動一起輸入的場地/位置名稱,會顯示在活動發生日期和時間的下方。可能還會顯示場地的完整街道地址。所有其他工具提示的元素都不會改變。

The Events Calendar 和 The Events Calendar Pro 是由 Modern Tribe 開發的 WordPress 外掛。

任意章節
CSS 類別:

.deltec-tooltip-message - 一個段落元素,圍繞著此外掛新增的所有工具提示資訊。
.deltec-location-name-prefix - 一個span元素,圍繞著您可以在“ The Events Calendar”設定區域的名為“ Tooltip Message Before Venue/Location Name”的文本框中設定的前置消息。
.deltec-location-name - 一個span元素,圍繞著活動場地/位置名稱的名稱。
.deltec-street-address - 一個span元素,圍繞著活動場地/位置的完整街道地址的所有元素(如果在“ The Events Calendar”設定區域啟用)。

Github 存儲庫

這個外掛的 Github 存儲庫可以在此處找到:https://github.com/mike-weiner/display-event-locations-tec。

參考文獻:

以下是在開發此外掛的某些部分時使用的資源和參考文獻。

https://support.theeventscalendar.com/153124-Themers-Guide

tribe_events_template_data_array

tribe_template_theme_path_list

tribe_address_exists()

tribe_get_full_address()


https://theeventscalendar.com/knowledgebase/k/custom-additional-template-locations/
https://gist.github.com/cliffordp/b76421f2490a8b8995493f203e11b331

特別感謝:

特別感謝 GitHub 上的用戶@cliffordp提供了數個有幫助的Gist,用作此外掛內特定功能的範例。

感謝 Danielle Attinella ,以她出色的設計才能,為此外掛設計了新的圖示和橫幅圖像。

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.6.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Display Event Location for The Events Calendar」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin overrides the template for the tooltip that is displayed when a user hovers over an event on the full month calendar view created by The Events Calendar or The Events Calendar Pro plugin. The name of the event’s venue/location that is entered with the event will be displayed under the date and time that the event occurs. The full street address for the location can also be displayed. All of the other elements of the tooltip remain unchanged.
The Events Calendar and The Events Calendar Pro are WordPress plugins developed by Modern Tribe.

Arbitrary section
CSS Classes:

.deltec-tooltip-message – A paragraph element that surrounds all of the information that is added to the tooltip by this plugin.
.deltec-location-name-prefix – A span element that surrounds the prefix message that you can set in the Display Event Location for The Events Calendar settings area in the textfield labeled Tooltip Message Before Venue/Location Name
.deltec-location-name – A span element that surrounds the name of the event’s venue/location name.
.deltec-street-address – A span element that surrounds the all elements of the street address for the event’s venue/location (if enabled in Display Event Location for The Events Calendar settings area)

Github Repository
The Github Repository for this plugin can be found here: https://github.com/mike-weiner/display-event-locations-tec.
References:
Below are resources and references that were used to help develop parts of this plugin.

https://support.theeventscalendar.com/153124-Themers-Guide

tribe_events_template_data_array

tribe_template_theme_path_list

tribe_address_exists()

tribe_get_full_address()


https://theeventscalendar.com/knowledgebase/k/custom-additional-template-locations/
https://gist.github.com/cliffordp/b76421f2490a8b8995493f203e11b331

Special Thanks:
A special thank you to user @cliffordp on Github for several helpful gists that were used as boilerplates to achieve certain functionality within this plugin.
Thank you to Danielle Attinella for her amazing work on designing a new icon and banner image for the plugin.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon