How to build a WordPress search form for your WordPress website that visitors can use to search for content inside your website? In this article, we will see how you can create a custom WordPress custom search form using two different methods-

  • by adding a code snippet
  • and without coding, using a plugin.

Make sure that you have also read the best search engines for WordPress before following the instructions below.

Custom search form wordpress plugin

Add WordPress custom search form

WordPress custom search form by adding code

Here we will visit the steps required to add the ExpertRec Custom search engine to your website. This is one of the easiest setup processes of all the available options out there and is highly recommended.

  1. Navigate to https://cse.expertrec.com/newuser?platform=cse and signup with your Google ID.
  2. Enter your website’s URL when prompted. You can select a server location near you and add the URL of your sitemap if you wish to. These will be auto-detected otherwise.
  3. You can play around with the settings and customize the UI as the crawl runs. Once it is complete, you can check out a fully functional demo before taking the search to your website.
  4. You can take the search to your website with little to no effort. All you need to do is to paste the code snippet available on the dashboard on your website.

ExpertRec comes with more customization options that you can explore. You can read this article to find a more detailed guide on the installation and configuration.

With the WordPress custom search form plugin- WP Fastest site search

  • Go to https://cse.expertrec.com/newuser?platform=wordpress
  • Enter your website URL and initiate a crawl.wordpress custom search form
  • Wait till all your site pages of your website have been crawled. wordpress custom search form
  • Download and install the WP fastest site search plugin from here.
  • Go to https://cse.expertrec.com/csedashboard/home/Status and copy your site ID.wordpress custom search form
  • Click on the site search icon in your WordPress admin panel.  Copy-paste your API key from inside your WordPress admin panel wordpress custom search form
  • This plugin adds a better performing search form to your website.
  • Subscribe to a paid plan (9 USD per month).
  • That’s it, you have added a search form to your WordPress site.

You may also like