wordpress search form short code

Wordpress search form short code

Rate this article

Share this article

Get a WordPress search form shortcode.

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

  1. Go to https://cse.expertrec.com/newuser?platform=wordpress
  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 https://downloads.wordpress.org/plugin/wp-fastest-site-search.zip
  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 shortcode, 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 = 'https://cse.expertrec.com/api/js/ci_common.js?id=' + 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.
  8. That’s it! your wordpress search shortcode is ready.Wordpress search form short code


Get WORDPRESS Search for your Website at $9

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like