Adding a Custom Widget to Any Page, Post or Template in WordPress

Widgets make WordPress really flexible. By adding widget areas to your themes, you let users insert their own custom content without having to write a line of code. They’re most common in sidebars and footers, where they’re often used to hold widgets such as the search widget, latest posts widget, or maybe a custom menu. […]

Read the full content here