Search Shortcode

This shortcode adds a search form to search Knowledge base.

[widg-search-articles kb_id='1' title='Search Articles' search_button_name='Search' search_box_hint='Search the documentation...' preset='7']

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.
  • preset – predefined styles and colors for the search box. Enter one of:    1 up to 7


Search Articles

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.

Examples of Widget Search Preset settings


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?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents