How To Customize the Documentation Live Search?

Document Pro gives you the freedom to customize the Style Live Search - Default and using Angolia Search. Now, let’s follow the below guideline to customize the Documentation Live Search in Document Pro:

Step 1: Configure DocPro Settings

First of all, go to the DocPro Settings by navigating to wp-admin -> DocPro . Afterward, open the ‘Manage Settings’ tab. Now, hit the ‘Enable search algolia’ checkbox and your search will be used to Angolia API search. If this checkbox is uncheck then the search live is be used live default.

How To Customize the Documentation Live Search? Screenshot 2

Step 2: Build Search Live

1. Create a page for Main document page

2. Create section search form document by "Search document" Widget.

3. If using search Default, You can customize the placeholder input in "Search document" Widget

4. Sync data Run WP_CLI , Access to folder plugin document-pro and Run cmd "wp algolia reindex_post ". Data is put to Angolia platform.

How To Customize the Documentation Live Search? Screenshot 4

If the Angolia search is enable then when you publish a document , it is put to angolia system

03.96.69.1286