How can I show my custom widget on the user's dashboard?
This question is related to the Second edition of Professional WordPress:
Chapter 8 has a section titled Creating a Widget that I used to build a custom widget for a client. The instructions were easy to follow, and I was able to create my custom widget with no problem. Now I would like to get that same widget onto the user's dashboard...
The following section of the book is titled Creating a Dashboard Widget but it walks you through creating a dashboard widget from scratch. That's not what I want to do; instead, I want to take the same widget I created using the instructions in the previous section, and have that widget appear on the user's dashboard. But unfortunately, I can't get this to work. I just kept getting error messages when I tried hacking it together.
I would greatly appreciate it if someone could demonstrate how to do this using the example (the bio widget) provided in the book. Again, please note that I am referring to the 2nd Edition of this terrific resource :)
Thanks in advance!