[wordpress插件] Custom Event Espresso Event Displayer自定义事件咖啡事件显示

wordpress 插件 文章 2020-04-08 01:10 460 0 全屏看文

AI助手支持GPT4.0

评分
74
描述

Event Espresso is an event registration and ticket management plugin.

Event Espresso是事件注册和票务管理插件。

To access certain features you are required to pay for the basic license (basic is $89.95).

要访问某些功能,您需要支付基本许可证的费用(基本费用为89.95美元)。

Whilst using this it became clear that one thing was missing: a bridge between the Lite and Basic licenses.

使用此功能时,很明显缺少一件事:Lite许可证和Basic许可证之间的桥梁。

The Lite version enables users to create events, take bookings and payments but viewing these events is far from ideal.

Lite版本使用户可以创建事件,进行预订和付款,但查看这些事件远非理想。

You only get them in list form.

您只能以列表形式获得它们。

For systems with more than 5 events, scrolling could be tedious.

对于具有5个以上事件的系统,滚动可能很乏味。

Now if you do buy the basic license you do get access to the Event Espresso Calendar.

现在,如果您购买基本许可证,则可以访问Event Espresso日历。

However, I am here to introduce a custom solution which allows you to embed a shortcode into your page and display them in a different way.

但是,我在这里介绍一种自定义解决方案,它允许您将简码嵌入到页面中并以其他方式显示它们。

I have likened it to a Monopoly-esque style with a bold header and an excerpt followed by a register link.

我将其比作具有大胆标题和节选链接后跟寄存器链接的专卖风格。

The screenshot(s) below show what it would look like when events have passed and if events do not exist.

下面的屏幕截图显示了事件过去以及事件不存在时的状态。

This is only version 1 and if feedback is good I will consider building upon the foundation set.

这只是版本1,如果反馈良好,我会考虑在基础集的基础上构建。

This solution was intended for a project I was working on and that could work for others.

此解决方案旨在用于我正在从事的项目,并且可以为其他人使用。

It must be noted that I do not work for Event Espresso nor am I associated with them in any way.

必须注意,我不为Event Espresso工作,也不以任何方式与他们联系。

Usage

用法

This program is free software;

该程序是免费软件;

you can redistribute it and/or modify

您可以重新分发和/或修改

it under the terms of the GNU General Public License, version 2, as

它遵循GNU通用公共许可证第2版的条款,

published by the Free Software Foundation.

由自由软件基金会发布。

This program is distributed in the hope that it will be useful,

分发该程序是希望它会有用,

but WITHOUT ANY WARRANTY;

但没有任何保证;

without even the implied warranty of

甚至没有默示的保证

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

特定目的的适销性或适用性。

See the

GNU General Public License for more details.

GNU通用公共许可证以获取更多详细信息。

You should have received a copy of the GNU General Public License

您应该已经收到GNU通用公共许可证的副本

along with this program;

与此程序一起;

if not, write to the Free Software

如果没有,请写信给免费软件

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Foundation,Inc.,美国马萨诸塞州波士顿,富兰克林大街51号,五层,邮政编码02110-1301

Disclaimer

免责声明

I am no way associated to Event Espresso and have devised my own custom solution for displaying events and would like to share with everyone else.

我与Event Espresso无关,并且设计了自己的自定义解决方案来显示事件,并希望与其他人共享。

安装步骤

    1. Upload ‘eventespresso_displayer’ folder to the /wp-content/plugins/ directory

      将“ eventespresso_displayer”文件夹上传到 / wp-content / plugins / 目录

    2. Activate the plugin through the ‘Plugins’ menu in WordPress

      通过WordPress中的“插件”菜单激活插件

    3. Place [CUSTOM_ESPRESSO_EVENT_DISPLAYER] in your page/post for events to be listed.

      在页面/信息中放置[CUSTOM_ESPRESSO_EVENT_DISPLAYER],以列出要列出的事件。

    4. Amend the styles of this plugin by viewing the settings page

      通过查看设置页面来修改此插件的样式

    5. Change: the number of years to show, background and text colours, events and structuring events in the correct way for you.

      更改:以正确的方式显示年份,背景和文本颜色,事件和结构化事件的时间。

下载地址
https://downloads.wordpress.org/plugin/custom-event-espresso-list-displayer.2.1.zip
-EOF-

AI助手支持GPT4.0