I am trying to convert a built-in widget into a stand alone plugin. Here's the code I found in themes_widget.php
[ use pastebin for this ]
I want to make a separate plugin for the said code and be able to use it in other themes. Can someone help me with these?