Print

Advanced Search Shortcode

Please note the Advanced Search addon is required.

Learn More

Shortcode for Advanced Search

The Advanced Search shortcode allows editors to use the shortcode on any page to display the Knowledge Base search box. KB users can then search the Knowledge Base without going to the KB Main Page. 

With Multiple KBs add-on, this shortcode also allows users to search more than one Knowledge Base.

The shortcode can be placed on any page, such as the Contact Us form to encourage users to search articles for solutions before submitting a ticket. Another good place to add the shortcode is the home page for site users searching for answers.

Shortcode format (backend):

WordPress Shortcode
%crel_bracket_open%eckb-advanced-search kb_id="1"%crel_bracket_close%
%crel_bracket_open%eckb-advanced-search kb_id="5,6,7"%crel_bracket_close%

Search Box Configuration

The Advanced Search shortcode has two different configuration modes:

  • The front-end appearance is controlled by the first KB that is listed in the shortcode.
  • The search results are then taken from each KB ID listed in the shortcode.

Multiple KB Search Demo

Demo

The following link brings you to a KB page with advanced search that searches multiple KBs. Try to search using the keyword "test":
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?
Previous Show Category for Each Search Result
Table of Contents

Recent Articles