WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to mimic stackexchange's method of selecting tags by typing first letters.

Any ideas?

All instant search plug ins I tried dont work, dont know why. I have latest WP version.

share|improve this question
A link to your site where the instant search is not working would allow us to help you troubleshoot more effectively. – cale_b Aug 14 '12 at 23:40
heres my search page sakkoulas.info/test/search thanks – p.a. Aug 14 '12 at 23:58
up vote 1 down vote accepted

First: I love Greek. Studied it recently - it is fun to see a site in Greek!

Second: Your site is loading in excess of 25 script files. That is NOT helping your site load times. You should consider reducing this if at all possible.

And now, the answer to your question:
You are using the Simple Instant Search Plugin, which works by using a shortcode [IS]. The instant search isn't working on the page you pointed me to because it does not use the shortcode, but rather uses the standard WordPress search box. The plugin you are using does not affect the built-in search, but relies on the use of their shortcode. Please refer to The plugin's FAQ to see how to make the search work.

Finally, if you want the instant search to be used everywhere the WordPress search form is displayed, then you need to follow a slightly different path:

  1. Find your theme's searchform.php file
  2. Edit the file and use the php snippet from The plugin's FAQ. Basically, you would replace the built-in form elements with the following code:
    <?php echo do_shortcode('[IS]'); ?>

If your theme does not contain a searchform.php file yet, that's OK - they are quite simple. Just create a file, name it searchform.php, and edit it. Place the following code into it:

<form id="searchform" method="get" action="<?php echo home_url( '/' ); ?>">
        <input type="text" name="s" id="s" class="searchfield" size="15" /><input class="searchbutton" type="submit" value="Search" />

Save, and that's a typical looking searchform file.

Of course, in order to accomplish what you want, you would create the searchform.php file, and paste just this into it:

<?php echo do_shortcode('[IS]'); ?>

Hope that helps!

share|improve this answer
Thanks for your insightful feedback, much appreciated. Do all themes have searchform.php? I cannot find mine neither in the child nor in the parent theme which I use. – p.a. Aug 16 '12 at 6:16
@p.a. - I edited the answer above to provide more details - basically, NO, not all themes have one. You can easily add one, though, and get what you need. – cale_b Aug 16 '12 at 14:04
I followed your instructions - still the search does not work. Could it be that I have so many plugins and include files? – p.a. Aug 17 '12 at 6:40
@p.a. - no, now it looks like the scripts have been removed from the footer. Did you modify footer.php? It should contain a line like so: <?php wp_footer(); ?> just BEFORE the closing </body> tag. – cale_b Aug 17 '12 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.