Skip to content

Commit f4e58c1

Browse files
committed
feat: sync from pro version and update for 2026
- Update files from knowledgebase-pro (excluding .git and load-freemius.php) - Remove @fs_premium_only annotations and Update URI - Remove Freemius premium initialization blocks - Delete includes/pro/ directory - Update copyright year to 2026 - Update i18n files (wzkb-en_US.pot/po/mo) - Fix package names (remove -free suffix) - Apply PHPCS formatting fixes - Clean up plugin metadata for free version
1 parent 4b1a868 commit f4e58c1

83 files changed

Lines changed: 12468 additions & 2680 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/HELP-WIDGET.md

Lines changed: 572 additions & 0 deletions
Large diffs are not rendered by default.

docs/KNOWLEDGE-BASE-PRO-RELEASE.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Knowledge Base v3.0 – Multi-Product Support, Ratings, and Premium Polish
2+
3+
Knowledge Base v3.0 is the biggest update in the plugin's history. I've completely re-architected the core to support multi-product documentation, added a setup wizard for new users, and introduced a powerful Pro add-on for those who need enterprise-grade features.
4+
5+
Whether you're running a simple FAQ or a complex support hub for multiple software products, this release has something for you.
6+
7+
## Multi-Product Support (Free)
8+
9+
The most requested feature is now in the free core. You can finally organise your knowledge base by **Product**, not just categories.
10+
11+
- **Hierarchical Structure:** Create a `wzkb_product` taxonomy to group sections and articles under specific products.
12+
- **Smart Templates:** The frontend automatically adapts to show product-specific landing pages and navigation.
13+
- **Migration Wizard:** Moving from a flat structure? I've included a built-in tool to map your existing content to products in bulk.
14+
- **Product Widget:** A dedicated widget to display sections for a specific product in your sidebar.
15+
16+
If you manage documentation for multiple plugins, themes, or services, this changes everything.
17+
18+
## Setup Wizard (Free)
19+
20+
Setting up a knowledge base shouldn't be a chore. The new Setup Wizard guides you through the essentials—permalinks, style preferences, and product mode—so you're ready to publish in under two minutes.
21+
22+
## Developer Notes: Standardised CSS (Free)
23+
24+
I've cleaned up the codebase to follow modern standards. CSS class names now use consistent hyphenation (e.g., `wzkb_section` is now `wzkb-section`).
25+
26+
If you have custom CSS targeting the old underscores, you'll need to update your stylesheets. This change ensures better compatibility with themes and easier styling moving forward.
27+
28+
## Pro Features
29+
30+
For those who need more power, the Pro add-on unlocks a suite of tools designed for professional support teams.
31+
32+
### Custom Permalinks for Multi-Product Sites
33+
34+
Craft article, product, section, and tag URLs using placeholders like `%product_name%`, `%section_name%`, `%post_id%`, or `%postname%`.
35+
36+
Why does this matter?
37+
38+
- Multi-product documentation stays organised with logical URL hierarchies.
39+
- SEO benefits from human-readable, keyword-rich permalinks.
40+
- Visitors understand where they are just by glancing at the address bar.
41+
42+
The engine handles rewrite rules, query vars, and clash prevention automatically. Even root-level article URLs work without a hitch.
43+
44+
### Article Rating System
45+
46+
Want to know which articles actually help your readers? The new rating system gives you two options:
47+
48+
- **Binary mode:** Simple "Useful" / "Not Useful" buttons.
49+
- **Scale mode:** Classic 1–5 star ratings.
50+
51+
Ratings appear automatically at the bottom of each article, or you can place them anywhere using the `[wzkb_rating]` shortcode.
52+
53+
I've built in five tracking methods—cookie, hashed IP, cookie + IP, logged-in users only, or no tracking at all—so you can balance accuracy with privacy requirements. The admin column shows ratings at a glance, and you can sort articles by a Bayesian average that rewards consistently helpful content over flukes.
54+
55+
If a reader marks an article as unhelpful, they can optionally leave feedback. You'll receive an email notification so you can improve the content.
56+
57+
### Help Widget – Self-Service Support on Every Page
58+
59+
The floating Help Widget brings your knowledge base to visitors wherever they are on your site. Click the button and they can:
60+
61+
- Search your articles instantly.
62+
- Browse suggested reads based on the current page.
63+
- Send you a message if they can't find an answer.
64+
65+
Everything is customisable: button position, colours, greeting text, and whether to show on mobile. The widget reuses the Related Articles query for smart suggestions and includes honeypot protection to keep spam out of your inbox.
66+
67+
Think of it as a mini help desk that's always available—without the overhead of live chat.
68+
69+
### Seven Premium Layouts
70+
71+
First impressions matter. Knowledge Base Pro ships with seven designer layouts:
72+
73+
![Knowledge Base Pro Premium Styles Showcase](insert-link-to-styles-collage.jpg)
74+
*Caption: From top-left: Card, Minimal, Gradient, and Professional layouts.*
75+
76+
- Card
77+
- Minimal
78+
- Boxed
79+
- Gradient
80+
- Compact
81+
- Magazine
82+
- Professional
83+
84+
Switch between them in **Knowledge Base → Settings → Styles**. Each layout loads its own CSS, so you get a polished look without writing a single line of code.
85+
86+
### Rating Block for Gutenberg
87+
88+
If you're building with the block editor, you'll appreciate the new Rating block. Drop it into any template or article and it honours your global rating settings automatically. When ratings are disabled, the block displays a helpful notice in the editor so you know exactly what's happening.
89+
90+
### Ready for Busy Teams
91+
92+
Once activated, the Pro Admin loader removes "PRO" locks from registered settings and adds a Clear Cache button directly to the settings footer, saving time for support teams. The main Pro bootstrapper instantiates modules only when required, registers premium styles via filters, and exposes an `uninstall_pro()` helper to tidy options if you ever retire the add-on.
93+
94+
### Upgrade Today
95+
96+
Knowledge Base v3.0 turns your site into a complete self-service portal. Whether you're using the free version for multi-product docs or upgrading to Pro for ratings and premium styles, this release is built to help you support your users better.
97+
98+
[Download Knowledge Base Free](https://wordpress.org/plugins/knowledgebase/) | [Get Knowledge Base Pro](https://webberzone.com/plugins/knowledgebase/pro/)

0 commit comments

Comments
 (0)