[wordpress插件] Deals交易

wordpress 插件 文章 2020-04-13 21:30 470 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

First – differently than any other similar plugin, this plugin is based on MIT license, which is a holly-grail for premium theme authors on i.e. ThemeForest or similar marketplaces.

第一 –与任何其他类似的插件不同,该插件基于MIT许可证,对于主题森林或类似市场上的高级主题作者而言,这是一个绝妙的选择。

Differently to standard GPLv2 license you are not required to open-source your theme and you CAN include this plugin into your premium websites bundle packs.

与标准GPLv2许可不同,您不需要开源主题,并且 CAN 将此插件包含在高级网站捆绑包中。

I do say here bundle packs, because you should never have an deals section to be a part of your theme, because that would be a bad idea – you need to leave your customers a flexibility for the future scale

我在这里说的是捆绑包,因为您永远都不应将交易部分作为主题的一部分,因为那将是一个坏主意–您需要让客户灵活应对未来的规模

:


What if your customers will decide later go with some kind of fancy e-commerce marketplace system like in Amazon.com – if your customer will grow that big, he won't need to have deals plugin anymore on

如果您的客户以后决定使用像Amazon.com这样的精美电子商务市场系统,该怎么办–如果您的客户规模如此之大,他将不再需要交易插件。

their website, he will want to replace it with that fancy e-commerce marketplace system.

他们的网站,他将要用那个花哨的电子商务市场系统替换它。

So my advise is to include this plugin in your bundle pack’s /Optional Plugins/ folder, so that you can tell about in the installation instructions, but make it fully independent from your theme.

因此,我的建议是将此插件包含在捆绑包的 / Optional Plugins / 文件夹中,以便您可以在安装说明中说明,但要使其与主题完全独立。

Second – this plugin is fully MVC + Templates based.

第二 –此插件完全基于 MVC +模板

This means that it's code is not related at all to it's UI, and that allows you easily to override it's UI templates and Assets (CSS, JS, Images) by your theme very easily (and there is detailed step-by-step instructions given

这意味着它的代码与它的UI根本不相关,并且使您可以轻松地轻松按主题覆盖它的UI模板和资产(CSS,JS,图像)(并提供了详细的分步说明)

how to do that).

该怎么做)。

This means that you making a theme to be what the theme has to be – a UI part of your website, nothing more.

这意味着您要使主题成为必须的主题–网站的UI部分,仅此而已。

Third – it is much more secure than any other plugin’s on the market.

第三 –它比市场上任何其他插件安全得多。

It is based on top-end S.O.L.I.D.

它基于高端S.O.L.I.D.

coding principle with input data validation with data-patterns, output escaping.

编码原理,使用数据模式验证输入数据,输出转义。

Fourth – this plugin is scalable – it's source code is fully object-oriented, clean & logical, based on MVC architectural pattern with templates engine, compliant with strict PSR-2 coding standard and PSR-

第四 –此插件可扩展–它的源代码完全基于面向对象,干净且逻辑,基于带有模板引擎的MVC架构模式,符合严格的PSR-2编码标准和PSR-

4 autoloaders, and easy to understand how to add new features on your own.

4个自动装带器,并且易于理解如何自行添加新功能。

Fifth – this plugin works well with big databases & high-traffic websites – it is created on optimal BCNF database structure and was tested on live website with 1M customers database and 500,000 active daily views.<

第五 –此插件可与大型数据库和高流量网站一起很好地使用–它是在最佳BCNF数据库结构上创建的,并在具有100万客户数据库和500,000次每日活跃观看的实时网站上进行了测试。

/p>

/ p>

Sixth – it does support official WordPress multisite as network-enabled plugin, as well as it does have support WPML string translation.

第六 –它确实支持官方WordPress多站点作为支持网络的插件,并且确实支持WPML字符串翻译。

At this point, if you need more than one language, I'd strongly advise to go with official WordPress multisite setup, because it is free, it is official (so you will never need to worry about the future support), and, most

在这一点上,如果您需要一种以上的语言,我强烈建议您使用官方的WordPress多站点设置,因为它是免费的,它是官方的(因此您永远不必担心将来的支持),并且,大多数

important – WordPress multisite is much more suitable for websites that needs to scale.

重要– WordPress多站点更适合需要扩展的网站。

You don’t want to have that additional translation bottle-neck code layer to be processed via database.

您不希望通过数据库来处理其他翻译瓶颈代码层。

Seventh – it has nice user experience – it's has a default design, it does allow you to have more than 3 deals via different slider's slides, as well as fading in and out description on mouse hover

第七名 –拥有出色的用户体验–它具有默认设计,它确实允许您通过不同的滑块幻灯片进行3个以上的交易,以及鼠标悬停时的淡入淡出描述

– so it is not static like what you usually get with Gutenberg.

–因此,它并非像古腾堡(Gutenberg)那样平常。

But the most important is that this plugin is and always be ads-free.

但是最重要的是,此插件一直且无广告

I personally really hate these freemium, ads-full or tracking plugins which makes majority of the plugins on w.org plugins directory (and, actually

我个人真的很讨厌这些免费 ads-full tracking 插件,这些插件使w.org插件目录中的大多数插件(而且实际上

, many of premium marketplaces).

,许多高级市场)。

So this is the key features we always maintain:

因此,这是我们始终保持的关键功能:

1. Never track your data (nor even by putting some kind of GDPR-compliance agreement checkbox, like Error Log Monitor plugin),

1.永远不要跟踪您的数据(甚至不要放置某种GDPR遵从协议复选框,例如 Error Log Monitor 插件),

2. Never make it pseudo-ads-full (even such a big plugins like WooCommerce or Contact Form 7 has nearly 80% of their home screen or 20% of their main

2.永远不要使其成为伪广告(即使像 WooCommerce Contact Form 7 这样的大插件,其主屏幕将近80%或主屏幕也将占20%

buttons about how to install \ buy other plugins

关于如何安装\购买其他插件的按钮

– this is a really ugly behavior of pushing-more and going to Facebook-like business, where you get like drug-addicted to company products).

–这是推销更多并进入类似Facebook的业务的丑陋行为,在这种情况下,您就像沉迷于公司产品的毒品一样。

The goal of this plugin is to full-fill the needs of website-starter, that needs a great tool which can last him for many years until it will grow that big so he would grow-out current plugins and would need some

此插件的目标是完全满足网站启动程序的需求,该网站需要一个出色的工具,该工具可以持续他很多年,直到它变得如此之大,这样他才能长出当前的插件并且需要一些插件

kind of different plugins.

种不同的插件。

And, I believe, that many other developers had the same issue when tried to create their first premium theme or set-up a website for their client.

而且,我相信,许多其他开发人员在尝试创建他们的第一个高级主题或为他们的客户建立网站时也会遇到相同的问题。

Starting with the issues with license type to the moment when deals section is hardcoded into theme code.

从许可证类型的问题到交易部分被硬编码为主题代码的那一刻开始。

So I wanted to help all these developers to save their time, and I’m releasing this plugin for you to simplify your work.

因此,我想帮助所有这些开发人员节省时间,并且我将为您发布此插件以简化您的工作。

And I’m releasing it under MIT license, which allows you to use this plugin your website bundle without any restrictions for both – free and commercial use.

而且我将根据MIT许可发布它,它使您可以在网站捆绑包中使用此插件,而不受免费和商业使用的任何限制。

Plus – I'm giving a promise to you, that this plugin is and will always be 100% free, without any ads, 'Subscribe', 'Follow us', 'Check our page', 'Get Pro Version'

加–我向您保证,此插件是而且将永远是100%免费的,没有任何广告,“订阅”,“关注我们”,“检查我们的页面”,“获取专业版”

or similar links.

或类似链接。

Finally – the code is poetry – the better is the web, the happier is the world.

最后–代码就是诗歌– 网络越好,世界越快乐

Live Demo

实时演示

Deals (Live Demo)

交易(现场演示)

GitHub Repository (for those, who want to contribute via “Pull Requests”)

GitHub存储库(针对那些希望通过“拉取请求”进行贡献的人)

https://github.com/SolidMVC/Deals

https://github.com/SolidMVC/Deals

p>

>

安装步骤

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

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

    1. Upload Deals (or deals) to the /wp-content/plugins/ directory.
    2. 交易(或 deals )上传到 / wp-content / plugins / 目录。

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

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

      2.1.

      2.1。

      If your theme does not* support FontAwesome icons, please **enable FontAwesome in Deals -> Settings -> “Global” tab.

    5. 如果您的主题不*支持FontAwesome图标,请在交易->设置->“全局”标签中**启用 FontAwesome。

    6. Go to admin menu item Deals -> Deal Manager and add deals.
    7. 转到管理菜单项 Deals -> Deal Manager 并添加交易。

    8. Now create a page by clicking the [Add New] button under the page menu.
    9. 现在通过单击页面菜单下的[添加新]按钮来创建页面。

    10. Add [deals display="deals" layout="slider"] shortcode to page content and click on [Publish] button.
    11. 在页面内容中添加 [交易display =“ deals” layout =“ slider”] 简码,然后点击 [Publish] 按钮。

    12. In WordPress front-end page, where you added deals slider shortcode, you will see slider-based deals.
    13. 在WordPress前端页面中,您添加了交易滑块简码,您将看到基于滑块的交易。

    14. Congratulations, you’re done!

    15. 恭喜,您完成了!

      We wish you to have a pleasant work with our Deals Plugin for WordPress.

    16. 我们希望您使用适用于WordPress的Deals插件工作愉快。

下载地址
https://downloads.wordpress.org/plugin/deals.zip
-EOF-

AI助手支持GPT4.0