A small but useful plugin to have unique sidebars for each page/post.
Upload the directory /core-sidebars/ into your WordPress directory under /wp-content/plugins/
Open your administration panel and go to Plugins and activate it by clicking Activate next to the description of Core Sidebars.
You are now able to begin using the plugin. Go to the Manage menu to edit a post or a page or write a new page or post. Either way, you will find a new meta box entitled "Sidebars and Widgets". Click to open and then you will find the two boxes to enter your content. HTML is allowed in the content box.
To include the data in the function, delete everything inside your sidebar.php except for your style container. Now, using add this PHP code by customizing it to your needs.
$sboptions = array( 'order' => 'title-content-widgets', 'before_title' => '', 'after_title' => '', 'before_content' => '', 'after_content' => ''); coresidebar($sboptions);