29 thoughts on “Search by Google

  1. TJ

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

    Thanks :)

  2. Pingback: Search by Google | WP Plugin Directory

  3. Jamie Barton

    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.

    1. webvitaly

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

      .your_custom_widget_class { width: 250px; }

  4. Chris Parker

    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...

      1. Chris Parker

        if i try this i get the search field like it should be...

        But! in the field is not! the small Google logo and CUSTOM SEARCH Text...

        you see: "Site:www.domain.com" displayed....

  5. george

    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...

    1. george

      I know that the alignment must be within my website code but I need to modify the size of border and the alignment of the content first. How do I do that?

      1. webster

        you may do this with css by adding this code to your theme style.css file:

        .search_google_form {margin-left:-25px; text-align: center;}
        .search_google_form fieldset {border:0;}

  6. Pingback: Search by Google | Best Plugins - wordpress – widgets – plugin 2012

  7. Pingback: 10 Great Free Wordpress Plugins » Created to Encourage

    1. webster

      This plugin does not create connection between search and adsense.
      Try to search another plugin to do this.

  8. Lud0vicB

    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.

    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.

    1. webster

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

  9. Mike


    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?


  10. Pingback: Search by Google review, discussions, does it work, and ratings on Loadwp.com | Loadwp.com

    1. Web-developer

      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.

  11. Pingback: webvitaly på "Søg på Google" - CyberMaster

Leave a Reply

Your email address will not be published. Required fields are marked *