Form action: Search

Form action: Search

This doc is about the Search action. Learn how to turn your form into a search form that sends visitors to your site's WordPress search results.

Settings

The Search action turns your form into a search form. It has a single setting, Search phrase, which is the text to search your site for. On submit, the visitor is taken to your site’s normal search results page for that phrase, using the same results page and permalink settings as WordPress’s built-in search.

In practice you set the Search phrase to the value of a search input on your form, using a dynamic variable, so it searches for whatever the visitor typed. Like a redirect, a search takes the visitor to the results page instead of showing the success screen.

Last updated: August 5, 2026

Still have more questions? Let us help!

On this page
Your cookie preferences

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.