| 开发者 | Guido07111975 |
|---|---|
| 更新时间 | 2026年8月15日 23:52 |
| PHP版本: | 6.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 |
| 版权网址: | 版权信息 |
[knowledgebase] to a page. This will display your knowledge base.
Or go to Appearance > Widgets and use the VS Knowledge Base widget.
Default settings categories:
class="your-class-name"columns="3"columns="0"include="1,3,5"exclude="8,10,12"hide_empty="0"posts_per_category="5"order="ASC"orderby="title"orderby="rand"category_link="false"category_description="true"post_count="true"post_meta="true"view_all_link="true"view_all_link_label="your label"no_post_title_label="your label"no_categories_text="your text"[knowledgebase include="1,3,5" hide_empty="0" post_meta="true"]
When using the block or the widget, don't add the main shortcode tag or the brackets.
Example: include="1,3,5" hide_empty="0" post_meta="true"
With the columns attribute you can set the number of columns between 1 and 4.
In small screens max 2 colums.
You can disable the columns in favour of your own styling.
The columns attribute will be ignored when using the block or widget. Because you can set the columns via the block or widget settings.
Post tags
Besides displaying posts by category you can also display posts by tag: taxonomy="post_tag"
Custom post types
It's also possible to display categories and posts from a custom post type (such as WooCommerce product categories and products).
To display these categories and posts you should add 2 attributes: "taxonomy" and "post_type"
WooCommerce:
taxonomy="product_cat" post_type="product"taxonomy="product_cat" post_type="product" woo_image="true"taxonomy="product_tag" post_type="product"The plugin will use the website language, set in Settings > General. If translations are not available in the selected language, English will be used.
Plugin has no settings page. Use the block, shortcode or widget with attributes to make it work.
No, this plugin is build to create a knowledge base that contains the default categories and posts. It's also possible to display categories and posts from a custom post type (such as WooCommerce product categories and products).
The plugin uses minimal styling and therefore also depends on the styling of your theme.
You can set the number of columns between 1 and 4 or disable the columns. This can be done via the block or widget settings or via an attribute. If you disable the columns CSS class "vskb-custom" is added to the knowledge base. This class can be used for your custom styling. You can use page Additional CSS of the Customizer for your custom styling.
Every category URL contains an unique ID. You will find this ID when hovering the category title in your dashboard or when editing the category.
It's the number that comes after: tag_ID=
Every tag URL contains an unique ID. You will find this ID when hovering the tag title in your dashboard or when editing the tag.
It's the number that comes after: tag_ID=
No, this is not possible. Parent and subcategories are displayed separately.
Yes, it will be displayed in the frontend of your website with a default label. You can change this label by using an attribute.
The version number won't give you info about the type of update (major, minor, patch). You should check the changelog to see whether or not the update is a major or minor one.
You like my plugin and want to make a donation? There's a PayPal donate link at my website. Thank you!
Please open a topic in the WordPress.org support forum for this plugin.