How to connect a Bootstrap seach box

Hi,
I have set up a bootstrap search box but don’t know how to connect it to actually receive search results.
Can anyone advise?

Any help appreciated.

http://temp.osborneparkautorepairs.com.au/

How about copying the bootstrap search box classes and ID’s to your Wordpress search form. That would be an easy way.

Thanks, :smiley: I ended up just using this wordpress code: <?php get_search_form(); ?>
Very little styling required and looks like Bootstrap as well.

@Argent

Thanks, :smiley: I ended up just using this wordpress code: <?php get_search_form(); ?>
Very little styling required and looks like Bootstrap as well.

Just tried on an iPad Mini 2

Warning: Division by zero in /home/osbornepark/www/temp/wp-content/plugins/slider-image/slider.php on line 2193

Yes that warning is the result of slider software I purchased almost four days ago and the developer who has my wordpress login can’t seem to fix it or reply to my emails. :rage:

1 Like

Try this which will prevent the warnings from being displayed:


<?php 
  // Save 
  $saveErrorReporting = error_reporting(0);

  // ESSENTIAL - Divide by Zero WANTS FIXING
  get_search_form(); 

  // Restore 
  error_reporting( $saveErrorReporting );
?>

Thanks John,
This error is caused by buggy slider software and I was able to fix it by re-populating the thumbnail field in slider admin with ‘1’. If it was my own coding I would be actively trying to fix it, but I’m still waiting for the developer to respond.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.