25 comments on “Search by Google

  1. Pingback: Search by Google | WP Plugin Directory

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

    • webvitaly Post author

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

      .your_custom_widget_class { width: 250px; }

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

    • webvitaly Post author

      Try this html:

      <form method="get" id="tsf" action="http://www.google.com/search" class="search_google_form">
              <fieldset>
                      <input type="text" name="q" class="q" title="Search by Google" value="site:http://www.wikipedia.org/ " />
                      <input type="submit" name="btnG" value="Search" />
              </fieldset>
      </form>
      • 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....

        • Chris Parker

          Also its in two rows searchfile and search button below. i Need it in one row ;)

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

    • 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?

      • webster Post author

        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;}

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

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

    • webster Post author

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

  7. Lud0vicB

    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.

    • webster Post author

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

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

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

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

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

Submit comment

Allowed HTML tags: <a href="http://google.com">google</a> <strong>bold</strong> <em>emphasized</em> <code>code</code> <blockquote>
quote
</blockquote>