[wordpress插件] Display Event Location for The Events Calendar显示事件日历的事件位置

wordpress 插件 文章 2020-04-19 09:51 456 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin overrides the standard template for the tooltip that is displayed when a user hovers over an event on the month display of The Events Calendar.

此插件会覆盖用户将鼠标悬停在“事件日历”的月份显示上的事件上时显示的工具提示的标准模板。

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.

与事件一起输入的事件地点/地点的名称将显示在事件发生的日期和时间下方。

All of the other elements of the template remain unchanged.

模板的所有其他元素保持不变。

Arbitrary section

任意部分

References:

参考文献:

    1. https://theeventscalendar.com/support/forums/topic/altering-event-tooltip-display-displaying-additional-fields-in-tooltips/
    2. https://theeventscalendar.com/support/forums/topic/altering-event-tooltip-display-displaying-additional-fields-in-tooltips/

    3. https://theeventscalendar.com/support/forums/topic/override-templates-via-custom-plugin/
    4. https://theeventscalendar.com/support/forums/topic/override-templates-via-custom-plugin/

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

    CSS Classes:

    CSS类:

      • deltec-tribe-events-location – Within the tooltip/popup the text ‘Location: Event-Location-Here’ is wrapped in this class.

      • deltec-tribe-events-location –在工具提示/弹出窗口中,此类中包装了文字“ Location:Event-Location-Here”。

        Use this to style the information within the popup.

      • 使用它来设置弹出窗口中信息的样式。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload the plugin files to the plugins directory, or install the plugin through the WordPress Plugins panel directly.
    2. 将插件文件上传到plugins目录,或直接通过WordPress插件面板安装插件。

    3. Activate the plugin through the Plugins panel in the WordPress administration area.
    4. 通过WordPress管理区域中的“插件”面板激活插件。

下载地址
https://downloads.wordpress.org/plugin/display-event-locations-tec.2.0.1.zip
-EOF-

AI助手支持GPT4.0