Search Knowledge Base by Keyword
This KB documentation is using Advanced Search, Links Editor and Elegant Layouts add-ons.
-
Echo Knowledge Base
-
Add-ons
-
Access Manager
AI Smart Search Shortcode
0 out Of 5 Stars
| 5 Stars | 0% | |
| 4 Stars | 0% | |
| 3 Stars | 0% | |
| 2 Stars | 0% | |
| 1 Stars | 0% |
The AI Smart Shortcode allows you to display the full AI search box on any page or post. This includes the AI search input and the multi-panel results layout (AI Answer, Matching Articles, Related Questions, etc.), exactly as configured in your AI Smart Search settings.
Learn more about AI Smart Search here.
Use this shortcode when you want to provide AI search outside of the Knowledge Base Main Page, for example, on a dedicated support page, contact us page or home page.
/* Default KB, Default AI Training Data */
%crel_bracket_open%ai-smart-search%crel_bracket_close%
/* Specify a Knowledge Base */
%crel_bracket_open%ai-smart-search kb_id="1"%crel_bracket_close%
/* Specify an AI Training Data Collection */
%crel_bracket_open%ai-smart-search kb_ai_collection_id="10"%crel_bracket_close%
/* Specify a custom title */
%crel_bracket_open%ai-smart-search title="Product Support Search"%crel_bracket_close%
/* Specify custom placeholder text */
%crel_bracket_open%ai-smart-search placeholder="Search our knowledge base..."%crel_bracket_close%
/* Specify custom button text */
%crel_bracket_open%ai-smart-search button="Find Answers"%crel_bracket_close%
/* Specify KB and AI Training Data Collection */
%crel_bracket_open%ai-smart-search kb_id="1" kb_ai_collection_id="10"%crel_bracket_close%
/* Specify all parameters */
%crel_bracket_open%ai-smart-search
kb_id="1"
kb_ai_collection_id="10"
title="AI Support Search"
placeholder="Ask a support question..."
button="Search"
%crel_bracket_close%
Shortcode Parameters
kb_idOptional
If provided, the shortcode uses the specified Knowledge Base ID.
If not provided, it defaults to KB ID 1.
kb_ai_collection_idOptional
If provided, the shortcode uses the specified AI Training Data collection ID.
If not provided, it defaults to AI Training Data collection ID 1.
titleOptional
Sets the title text displayed above the AI Search form.
Defaults to “AI Search” if not provided.
placeholderOptional
Sets the placeholder text shown inside the search input field.
Defaults to “Ask a question…” if not provided.
buttonOptional
Sets the text displayed on the search button.
Defaults to “Search” if not provided.
Configuration Notes
The shortcode does not include any additional configuration options.
All AI layout, panel order, and column settings must be configured in:
AI → Search → Search Settings → Smart Search Results
0 out Of 5 Stars
| 5 Stars | 0% | |
| 4 Stars | 0% | |
| 3 Stars | 0% | |
| 2 Stars | 0% | |
| 1 Stars | 0% |
