A Search Page is a WordPress Page with a custom Page template to give users more information for searching your site.
How to create it?
Follow these steps to create a search page.
- On the Admin Area go to Pages > Add New.
- In the title field enter Search.
- Add a new block named “Search“.
- Publish the page.
How to test it?
- Leave the Admin Area and go to the User Area.
- Click on the Search link from the Menu to land on the newly created Search page.
- In the search field, type the keyword to search and submit.
- The search results must appear on the same page.
- If no post is found with the keyword then “No posts were found.” message would appear.