Search Shortcode
Created On:
Last Updated On:
By:Dave
1.7 out Of 5 Stars
5 Stars | 11% | |
4 Stars | 11% | |
3 Stars | 0% | |
2 Stars | 11% | |
1 Stars | 67% |
You are here:
- KB Home
- Add-ons
- KB Widgets
- Shortcodes
- Search Shortcode
This shortcode adds a search form to search Knowledge base.
Shortcode:
[widg-search-articles kb_id='1' title='Search Articles' search_button_name='Search' search_box_hint='Search the documentation...']
All parameters are optional:
- title – heading above the widget
- search_box_hint – hint visible in the box. If missing, the value will be ‘Search the documentation…’
- search_button_name – name of the search button. If missing, the value will be ‘Search.’
- kb_id – optional and used only when Multiple KBs add-on is active.
Example
Widget Search Preset Styles
You can choose from seven preset styles to change the look of the search widget in KB Configuration:
KB Configuration -> Article Page -> Widgets -> Search Style Presets.
p
Note:
For detailed information about WordPress shortcodes click here.
Use this Shortcode to add KB elements to any page or post that supports shortcodes.
Was this article helpful?
1.7 out Of 5 Stars
5 Stars | 11% | |
4 Stars | 11% | |
3 Stars | 0% | |
2 Stars | 11% | |
1 Stars | 67% |
Table of Contents