WordPress.org

Ready to get started?Download WordPress

Forums

searching for Google Search widget (2 posts)

  1. mzimmers
    Member
    Posted 5 years ago #

    According to the codex on creating widgets...

    The Google Search widget is commented within inches of its life, so consider that your tutorial.

    So...where is this Google Search widget that I'm not finding it? My searches on the WP docs have been fruitless.

    Thanks...

    PS: should widget-related questions be in the Plugins/Hacks forum?

    PPS: congratulate me: I had my one-year Wordress anniversary yesterday.

  2. riddle
    Member
    Posted 4 years ago #

    I had the same question. The only place I've found it so far is embedded in the old Sidebar Widgets plugin from 2007 (now obsolete since sidebar widgets are part of the WordPress core):

    http://wordpress.org/extend/plugins/widgets/other_notes/

    One problem with using it as a model is that I don't know whether the old Sidebar Widgets plugin had identical coding requirements as the widgets feature now built into WP.

    I wish the Codex people would make sure that the Google Search widget is up to date in a known place, and then link to it wherever it is mentioned in the Codex.

    UPDATE:

    I may have been looking at an obsolete widget tutorial; this one does include a link to the old Google Search widget (which is as I thought embedded in the old Sidebar Widgets plugin). More importantly, though, it addresses changes in WP 2.8 and includes its own sample widget:

    http://codex.wordpress.org/Widgets_API#Developing_Widgets

    Maybe the real problem in the Codex is redundant old tutorials that don't keep up with developments in WP...

Topic Closed

This topic has been closed to new replies.

About this Topic