This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: CANNOT get it to exclude categories!! Done all everything you said on this forum

Home Forums Product Support Forums Ajax Search Pro for WordPress Support CANNOT get it to exclude categories!! Done all everything you said on this forum Reply To: CANNOT get it to exclude categories!! Done all everything you said on this forum

#515
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

If by tweaking you mean replacing it with my search bar, then it is possible. You can create a new ajax search pro, or use the one you already have.
Try to replace this code:

<div class="searchform">
<form method="get" id="searchform2″ action="<?php bloginfo('home’); ?>/">

<span class="searchfor"><input type="text" name="s" id="s" class="s" value=" G day! Enter quick search here by business name or keywords" onfocus="if(this.value==this.defaultValue)this.value=";" onblur="if(this.value==")this.value=this.defaultValue;" />
<small class="text"><?php //echo 'Pets, Beauty and Gadgets’;?> </small>
</span>

</form>
</div>

with this:`

`

After replacing you should see the ajax search pro where the other search bar was. Don’t fogrget to backup the code first, in case you want to restore it!
And if you want a similar layout, you can try the one of the “curvy” themes on the ajax search pro settings page, they similar to your yellow search bar.

  • This reply was modified 12 years, 10 months ago by Ernest MarcinkoErnest Marcinko. Reason: code change
  • This reply was modified 12 years, 10 months ago by Ernest MarcinkoErnest Marcinko.
  • This reply was modified 12 years, 10 months ago by Ernest MarcinkoErnest Marcinko.