29 thoughts on “Search by Google”

  1. You should change all http:// to https:// so this will work with sites using SSL certificates.

    For example:

    search-google/search-google.php:38:

    Thanks :)

    Reply
  2. Hi, any chance you can advise how I increase the 'width' of your widget, as I currently have a new image widgets in my right sidebar which is causing the your widget to look out of place.

    Reply
    • You may change the widget via css by adding similar code to your theme style.css file:

      .your_custom_widget_class { width: 250px; }

      Reply
  3. is there a possibility to use a "SNIPPED CODE" (HTML CODE) so instead of the Widget Feature?

    So its more flexible to put it on the position on Website you want it...

    Reply
  4. Hi. I installed the plugin on my website: albatross-travel.ro and I need to edit the border to fit the sidebar and align the content in the middle of it. I've searched within the code but I didn't find anything...

    Reply
  5. Hello.

    I just downloaded your plugin. I added the widget to the top widget area of my site. I used wordpress (network mode) V3.3.1 and graphene v1.5.6.

    I checked my site on the w3c validator.

    http://validator.w3.org/

    This gave me an error, error with the search plugin. Here is it :

    _________

    Line 151, Column 74: there is no attribute "name"

    …tsf" action="http://www.google.com/search" name="f" class="search_google_form">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the element to incorporate flash media in a Web page, see the FAQ item on valid flash.

    __________

    I removed the "name="f"" string in your code and checked again. W3C validator does not show me error anymore.

    Reply
    • Removed (name="f"). You may update your "Search by Google" plugin to version 1.4 and re-validate your page.

      Reply
  6. Hi,

    Can I make it show results within my site? Not to

    Maybe iframe? Also I would like to put more than one engine in it?

    Thanks

    Mike

    Reply
    • You should clear the value "Search on site: " on the widget options (your site will be used by default).
      If you want to search on other site (for example "http://www.site2.com/") than place it there.
      Now you put "http://www.google.ca/" into "Search on site: " option and Google tryes to search on "http://www.google.ca/" site and not on yours.

      Reply

Leave a Comment