Read Registering & Displaying A Sidebar by Joseph Dickson (joseph-dickson.com/)

Registering a sidebar gives our theme an area where dynamic content can be added by Widgets and managed by the site owner using a drag an drop interface. This can include menus, custom HTML, Images and additional features introduced by Plugins. In this post we’ll register a sidebar, that will then be assigned dynamic widgets and displayed on our site’s footer.