In this article we will see how to get a wordpress search from short code. wordpress search form short code

  1. Go to
  2. Enter your wordpress site URL and create your custom search enginewordpress search not working
  3. Download and Install expertrec’s wordpress search extension from here
  4. Get your API key from your expertrec control panel and add it to your expertrec extension inside your admin panel.wordpress search not working
  5. This adds search functionality to your wordpress site.
  6. For the search short code, you can add the following code to your website wherever you want to display the search box
    (function() {
    var id = 'Your_api_key';
    var ci_search = document.createElement('script');
    ci_search.type = 'text/javascript';
    ci_search.async = true;
    ci_search.src = '' + id;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ci_search, s);


  7. Replace the Your_api_key with your api key (which you can get from your control panel.

    Thats it! your wordpress search short code is ready.

muthali ganesh

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like

Halloween sale is live! 1 Days 3 Hours 50 Minutes 35 Seconds left to get your free search!
Sign up