StackOverflow Answers (WordPress Widget)

Widget to display a summary of answers you have posted in StackOverflow. It will display the question’s title, the answer’s score, and the time the answer was last edited.

You can limit the number of questions displaying and sort the list based on:

  • Highest score.
  • Oldest answer.
  • Newest answer.

ps. The widget uses StackOverflow API version 1.0. The content of this widget is cached and updated every day.

StackOverflow Answers


  1. Upload plugin folder to the wp-content/plugins/ directory.
  2. Go to plugin page in WordPress, and click “Activate”.
  3. Go to widgets page in WordPress and drag StackOverflow Answers Widget to a widget area.
  4. Set configuration:
    • Set widget title.
    • User number can be found in profile URL ( User Number]/[Your Username])
    • Consumer Key can be found by registering your widget. This is optional.
    • Set number of questions to show.
    • Set how you want to sort the list.


  • json_decode must be available.
  • PHP5 or higher.


Download the plugin from WordPress

Posted in PHP, WordPress and tagged , .
Loading Facebook Comments ...

Leave a Reply

Your email address will not be published. Required fields are marked *


  1. I was looking at your code and seems easy to implement but I’m not exactly a php coder.
    On the loop just add a variable that doesn’t get always the first user id. Or maybe creating multiple instance of the widget.

    • Yes it’s not that hard to do it. Using the user id will make it work. I just currently don’t have the free time to upgrade it. I might do it sometimes next week. Thanks for your interest in the plugin.

  2. Nice widget but, how can I set it up to show more than one user?

    If I add it two times with two stack users it shows always just one user answers.