Shortcode: Live Search

Overview

The "Live Search" shortcode can be used to display a search bar component related to a specific knowledge base. The knowledge base id (kb_id) will be used to filter only the content items related that knoweldge base as well as loading the required design settings (CSS).

Syntax

Open the relevant WordPress page and add a shortcode block. Copy-paste the below shortcode syntax and adjust the input parameters (kb_id).

How to Get a Knowledge Base ID?

For the Knowledge Base ID, go to the “Knowledge Bases” menu. Each knowledge base instance has a unique id which is displayed under the “ID” column.

Demo Example

Backend - WordPress Editor

Frontend - Page View