Widgets, (also called modules, snippets, badgets, or gadgets) are chunks of HTML code that can be embedded into web pages to produce a specific outcome. They’re basically helpful little gizmos that perform an action separately from the rest of the site. They are usually dynamic rather than static, meaning a script within the code calls some sort of action that changes or updates periodically. Some of the early uses of embedded code chunks included hit counters and banner ads. Today widgets perform a multitude of tasks.
WordPress includes a good selection of widgets — calendar, search box, links, archives, tag cloud, and many more. Today we’re going to learn how to create a custom widget, using the Text widget. The Text widget can do whatever you want it to do by embedding a chunk of HTML code. If you don’t know how to write HTML, that’s fine, because I’m going toteach you how to create a custom sidebar widget WITHOUT having to write code. It’s a neat trick, but I’ll need to “show” you, so click the icon below to watch the video tutorial.