
內容簡介
首先,和其他類似的外掛不一樣,這個外掛採用 MIT 開源授權,這對於像是 ThemeForest 或類似市場上的高級主題作者來說,是極為重要的。
不同於 GPLv2 的標準開源授權,您不必公開主題的原始碼,也可以將此外掛包含在您的高級網站捆綁包中。
我在這裡提到的捆綁包,是因為您不應將常見問題與主題捆綁在一起,因為那樣並不是一個好主意。您需要在未來的擴展規劃中保留客戶的彈性:
如果您的客戶後來決定採用 Change.org 的 /help/ 部分或 Envato.com 的 Support 部分之類的高端知識庫系統,他不需要在他的網站上再使用 F.A.Q. 外掛程式,而是想要將它替換為那種高端知識庫系統。
因此,我的建議是在捆綁包的 /選用外掛/ 資料夾中包含此外掛,這樣您可以在安裝說明中提到它,但不使其與主題相關聯。
第二個特點是,這個外掛是完全基於 MVC + Templates 架構的。這意味著它的代碼和 UI 完全沒有關聯,這使您可以非常容易地通過主題輕鬆重寫它的 UI 模板和資源 (CSS、JS、圖像)。
這意味著您可以專注於主題該有的職責 - 為您的網站提供 UI,而不是更多的。
第三個特點是,比市場上任何其他外掛都更安全。它是基於頂級 S.O.L.I.D. 編碼原則,使用具有數據模式的輸入數據驗證和輸出防範方案。
第四個特點是,這個外掛是可擴展的 - 它的原始碼完全是面向對象、乾淨、邏輯性強的,基於 MVC 架構模式、模板引擎和符合嚴格的 PSR-2 編碼標準和 PSR-4 autoloaders,並且易於理解如何自己添加新功能。
第五個特點是,這個外掛可以很好地處理大型數據庫和高流量網站 - 它是基於最優 BCNF 數據庫結構建立的,並在擁有 1 百萬客戶數據庫和每天 500,000 個活躍瀏覽量的實際網站上進行過測試。
第六個特點是,它支援正式的 WordPress 多站架構,而且支援 WPML 翻譯。
在這一點上,如果您需要多種語言,我強烈建議採用官方的 WordPress 多站點設置,因為它是免費的,是官方的 (因此您以後不需要擔心支援問題),而且最重要的是,WordPress 多站點更適合需要擴展性的網站。您不想有額外的翻譯支持造成資料庫負荷過重。
第七個特點是,它擁有良好的使用者體驗 - 它有一個預設的設計,可以讓您同時打開多個 F.A.Q. 項目 - 因此它不需要討厭的手風琴功能。
但最重要的是,這個外掛是且永遠都不會顯示廣告。我個人非常討厭那些免費、充滿廣告和追蹤的外掛,這些外掛佔了 w.org 外掛目錄的大部分 (實際上也佔了許多高級市場的一部分)。因此,我們始終保持以下關鍵功能:
1. 永遠不會追蹤您的數據(甚至不會要求您勾選符合 GDPR 規定的協議核取方塊,例如 Error Log Monitor 外掛);
2. 永遠不會讓其擠滿廣告(即使像 WooCommerce 或 Contact Form 7 這樣的大型外掛,也有近 80% 的主屏幕或 20% 的主要按鈕用於介紹如何安裝或購買其他外掛)。
外掛標籤
開發者團隊
原文外掛簡介
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.
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.
I do say here bundle packs, because you should never have an F.A.Q. 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 knowledge base system like in Change.org /help/ part or Envato.com Support part – if your customer will grow that big, he won’t need to have F.A.Q. plugin anymore on their website, he will want to replace it with that fancy knowledge base 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.
Second – this plugin is fully MVC + Templates based. 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 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.
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. 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-4 autoloaders, and easy to understand how to add new features on your own.
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.
Sixth – it does support official WordPress multisite as network-enabled plugin, as well as it does have support WPML string translation.
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 important – WordPress multisite is much more suitable for websites that needs to scale. 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 one F.A.Q. item open at the same time – so it don’t have that annoying accordion feature.
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, 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),
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 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).
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 F.A.Q. 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.
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’ or similar links.
Finally – the code is poetry – the better is the web, the happier is the world.
Live Demo
Expandable FAQ (Live Demo)
GitHub Repository (for those, who want to contribute via “Pull Requests”)
https://github.com/SolidMVC/ExpandableFAQ
