WordPress glossary

Search block

A search field for the content of your site.

The Search block adds a search field, so visitors can search the posts and pages on your site. It’s often placed in the header or a sidebar, and the results are shown on your theme’s search results page. Here’s a working one, which searches this site:

In block themes, the results page is a template of its own, which you can edit in the Site Editor like any other template.

Published November 24, 2026

Related terms