Wordpress Search Action

This action will use the standard Wordpress search API to search for different terms and display the results as chat text or as a carousel.

Settings

The action uses the following settings:

Setting

Description

Parsed

Base URL

The base url of your Wordpress website. Like https://www.mysite.com.

Consumer Key

If required by your Wordpress configuration, paste here the consumer key.

Consumer Secret

If required by your Wordpress configuration, paste here the consumer secret.

Search Terms

The terms you want to use to search your website

No Results Text

The text you wish to display whenever the search yields no results

Max Results Count

The maximum number of items to be returned by the search

Display Mode

The action used by Xenioo to render the search results.

Remarks

By default a Wordpress website may not have standard REST API enabled for searching. If you use this action on a website without REST API, it will fail.

Depending on your Wordpress version REST API enabling steps may vary. This guide can help you in setting up and configure your Wordpress website for search.

Trigger

This action does not trigger any event.

Variables

This action produces the following variables:

Variable

Description

wp_search_count

The total number of items found. The number may be lower but never higher than Max Results Count

Availability

Channel specific availability follows the table below:

Channel

Availability

Facebook

Fully Available.

WhatsApp

Fully Available.

Telegram

Fully Available.

Web

Fully Available.

Alexa

Fully Available.

Google Assistant

Fully Available.

Slack

Fully Available.

API

Fully Available.

This action can be used only inside interactions and not as child of other actions. This action requires a Premium Account to be used on a live chatbot.