Support » Fixing WordPress » Google search in sidebar broken

  • I apologize that I’ve lost the skills I needed to create this functionality in the first place, but here goes. Now, my site consists mostly of static html, with files in my root folder, but the home page is in WordPress, with files in a “blog” folder and a custom theme. The sidebar contains a Google search box that no longer returns results. I don’t know when the problem arose, possibly just yesterday when I upgraded to https.

    The code in sidebar.php for this reads as follows:

    <li id="search">
    <!-- Google CSE Search Box Begins  -->
    <form action="" id="searchbox_007824554724251649928:hl-xxbn-w6q">
      <input type="hidden" name="cx" value="007824554724251649928:hl-xxbn-w6q" />
      <input type="hidden" name="cof" value="FORID:11" />
      <input type="text" name="q" size="15" />
      <input type="submit" name="sa" value="Search" />
    <script type="text/javascript" src=""></script>
    <!-- Google CSE Search Box Ends -->

    A search does return the custom text and style specified in ggsearch.htm, but no search results.The relevant section in ggsearch.htm is as follows:

     <div id="results_007824554724251649928:hl-xxbn-w6q"></div>
    <script type="text/javascript">
      var googleSearchIframeName = "results_007824554724251649928:hl-xxbn-w6q";
      var googleSearchFormName = "searchbox_007824554724251649928:hl-xxbn-w6q";
      var googleSearchFrameWidth = 600;
      var googleSearchFrameborder = 0;
      var googleSearchDomain = "";
      var googleSearchPath = "/cse";
    <script type="text/javascript" src=""></script>

    That’s all I know, and thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.