Use the Search block to add a search box onto any page or post, allowing readers to easily search your site for posts and pages you’ve written in the past.
To add a Search block, click on the + Inserter icon at the bottom-left corner of the screen and select the Search block from the blocks list. Alternatively, you can type
/search as a quick method.
For more, visit our detailed instructions on adding blocks.
Once you add the block, you’ll see that you can type a title. You could write “Search” here or something more specific like “Can’t Find What You’re Looking For?”
The Search block will return results from the titles and the bodies of your posts and pages, and from media titles, alt text, file names, and single image captions. It will not return results from widgets, comments, categories, gallery captions or other text, or tags.