webberzone / knowledgebase Goto Github PK
View Code? Open in Web Editor NEWThe easiest way to add a Knowledge Base / FAQ to your WordPress blog
Home Page: https://webberzone.com/plugins/knowledgebase/
License: GNU General Public License v2.0
The easiest way to add a Knowledge Base / FAQ to your WordPress blog
Home Page: https://webberzone.com/plugins/knowledgebase/
License: GNU General Public License v2.0
Function to display breadcrumbs. Template to include this automatically on category and page views.
When registering the style, this should be marked as a dependency
Implement caching for the knowledgebase
Add a new setting to enter the title of the knowledgebase which will be displayed on archived pages instead of the archive title
Use https://github.com/WebberZone/Settings_API for the admin registration.
I set the page slug to something like knowledge-base and I use a custom page with this slug. Then on that page I use the kb blocks to layout the page the way I want. When I go to that page it all looks great, I click an article and it takes me to that article's page, so far so good. When I click the breadcrumb to take me back to the knowledge base page it takes me to a page that's using the plugin's template instead of the custom page I set up.
Is there a way to tell the plugin to use my page and not use its own template?
By default the Knowledgebase is designed to start adding span_1_of_2
from 2nd level categories onwards.
Add a new option for this to take place at the top level itself as most users will directly dive into the categories /sections rather than put it one level down.
Implement live search from the search box to directly find articles
Use dashboard_glance_items filter to add the number of posts to the At a Glance widget in the WordPress Admin Dashboard.
Check implementation in: https://developer.wordpress.org/reference/functions/wp_dashboard_right_now/
Create a Gutenberg block to display the knowledge
Allow users to rate the knowledgebase article
Hi,
i would like to have something like "Related Knowledgebase Articles" under my Blog Postings, if i use the same Tags on Blogpost and Article.
New feature to track viewed articles for current user via cookies and then display this as they browse through the knowledge base
Knowledge base articles should display in their own template if one is not added in the theme.
Hi,
As said in the title, all markdown codes, with WP markdown, didn't work in knowledge base pages.
Breadcrumb, Section and Articles blocks.
Hello,
I'm new here on GitHub. But I've made a .po and a .mo file with the translations for this plugin in Dutch. Is it possible to implement them in this plugin? I'll add them in a ZIP-file for you.
wzkb-nl_NL.zip
When I've uploaded these files in the language file on the server, I don't see any changes. Did I miss out on an action?
Hope to here from you soon.
Kind Regards,
Cynthia
Add CodeMirror support for editing the CSS
Reference:
https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/
https://developer.wordpress.org/reference/functions/wp_enqueue_code_editor/
Would it be possible to enhance the plugin with the option for the user to set the number of columns to display? On a site of say 1200px width there is sufficient space for about 4 categories if there is no sidebar display.
Add option to show the knowledgebase in the main WordPress blog feed:
<?php // ADD CUSTOM POST TYPES TO RSS FEED //
function wzkb_in_feed( $args ) {
if ( isset( $args['feed'] ) && !isset( $args['post_type'] ) )
$args['post_type'] = array('post', 'gallery', 'product');
return $args;
}
add_filter( 'request', 'wzkb_in_feed' );
Add widgets to display:
Knowledgebase categories / sections
Articles in a section
Breadcrumbs
Option to show sidebar in the default templates
in public/css/styles.css line 78
.col:first-child {
margin-left:0;
}
Only apply to the first element, but for a 2 column display it should apply to every 2 elements.
This : http://imgur.com/PdNjqya
should look like this: http://imgur.com/IMl8Ufa
The issue stems because by default Gutenberg doesn't add the primary
class to newly inserted styles.
Create a new parameter to display the search form when using [knowledgebase]
Potentially: [knowledgebase searchform="1"]
Add an option to delete all settings and data at uninstall.
Should be 2 checkboxes:
hi,
settings for the URL's would be great. It would be more flexible.
example: "kb-articles" => "questions" was for me better ;-)
knowledgebase/includes/public/css/wzkb-styles.css
Lines 224 to 231 in 0fc7fa3
Add specific classes as well as move to CSS grid to display the navigation.
Add several shortcodes that allow a user to indicate specific messages, e.g. info, warning, tip, success, etc.
I want to enable Comments for KBArticles to interact with my Commnity.
This is useful to Improve my KB =)
Add an empty example object example: {}
to display the block previews.
Create a Gutenberg block for the Knowledgebase Alerts
Another CSS tweak to resize the search icon so that it fits properly in the input box.
input.wzkb-search-field {background-size:30px;}
The sections still has many references to "category"
knowledgebase/includes/main.php
Line 107 in 4a69520
Add a new option to override the hide empty setting so that all categories can be displayed even without posts
I'm overriding the default template but I'd rather not included the new template files in the root of my child theme. Could you add the possibility to include them in a knowledge base sub-folder?
Thanks!
You currently have the width of the search box set in your CSS as 100% and you have then added a margin to this div. As a result the search box goes outside the page width on the right side and causes a horizontal scroll bar on sites. Change the width to ~95% so the definition should be
.wzkb-search-form { border: 1px solid #ddd; font-size: 1.3em; margin: 20px 0; padding-left: 10px; padding-right: 12px; position: relative; width: 95%; }
The current method of multi-products is not intuitive as it requires a second-level view of the categories/sections taxonomy.
Add a new taxonomy or post meta to create new products. Each product can have its own set of sections.
why my knowledgebase appear in vertical view ?
category1
category1
.category1
category1
not
category1 category1 category1 category1
category1 category1 category1 category1
any suggestions ?
Add number of articles in the title section. Wrapped in tags so that it can be styled by CSS
Add a shortcode to display a search form
New option to limit the number of articles in a category post which a Read more link will be displayed.
Option to select multiple different styles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.