Hi all,
I'm loving wordpress so far but just bumped into a problem when adding Google Custom Search to my site.
I have the search.php file in my theme folder and I have updated it with the google code...
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 500;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
<div><?php include ("sidebar2.php"); ?></div>
<?php get_footer(); ?>
<?php wp_footer(); ?>
</div>
</body>
</html>
I have set up my search form to use the search form desination at my site but hitting that URL gives me a 'page not found' error.